summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerrit <chrome-bot@google.com>2012-02-15 17:29:01 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-02-15 17:29:01 -0800
commit30fc5d72849de5fc791db06b432969096f76469c (patch)
tree95e6e16e9020fa994fcb3fee0a4c777b42e8358a /include
parentdd3a4a4b7dd53f062109d6f922f71877978741a0 (diff)
parent93d77ada6ca328044496d4d42364bc6f70b468d5 (diff)
downloadchrome-ec-30fc5d72849de5fc791db06b432969096f76469c.tar.gz
Merge "Change TMP006 temperature calculation to use FP."
Diffstat (limited to 'include')
-rw-r--r--include/fpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/fpu.h b/include/fpu.h
index 1e398c7a67..a21992290a 100644
--- a/include/fpu.h
+++ b/include/fpu.h
@@ -11,7 +11,9 @@
/* Enables FPU. Note that this function also disables interrupt. */
void enable_fpu(void);
-/* Disables FPU. This function also enables interrupt. */
-void disable_fpu(void);
+/* Disables FPU. This function also enables interrupt.
+ * The value passed in serves as optimization barrier. This value would be
+ * calculated before FPU is disabled regardless of compiler optimization. */
+void disable_fpu(int32_t);
#endif /* __EC_FPU_H */