diff options
author | Rushikesh S Kadam <rushikesh.s.kadam@intel.com> | 2018-12-06 15:04:31 +0530 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-19 01:12:52 -0800 |
commit | 4790392940e3b70a843274e1acb952e8f22825f6 (patch) | |
tree | 615b1f0349726600f3207797493201f508534a88 /core | |
parent | 84f85644089a74ad62ef12cfeb1592285f971b40 (diff) | |
download | chrome-ec-4790392940e3b70a843274e1acb952e8f22825f6.tar.gz |
core/minute-ia: default_fp_ctx[] should be static
Define the default_fp_ctx[] for initial FP state as
static variable.
BRANCH=none
BUG=b:120582727
TEST=Succesfully compile for ISH target
Change-Id: Iac60a814ab7a9c3090b47472adebf05b1341c5fb
Reported-by: Caveh Jalali <caveh@google.com>
Signed-off-by: Rushikesh S Kadam <rushikesh.s.kadam@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1365155
Commit-Ready: Caveh Jalali <caveh@google.com>
Reviewed-by: Caveh Jalali <caveh@google.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/minute-ia/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/minute-ia/task.c b/core/minute-ia/task.c index f26e6d20af..cec812af3e 100644 --- a/core/minute-ia/task.c +++ b/core/minute-ia/task.c @@ -598,7 +598,7 @@ void task_pre_init(void) uint32_t *stack_next = (uint32_t *)task_stacks; #ifdef CONFIG_FPU - uint8_t default_fp_ctx[] = { /*Initial FP state */ + static uint8_t default_fp_ctx[] = { /* Initial FP state */ 0x7f, 0x03, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; #endif |