[PATCH 54/54] libcpu/i386/cache.c: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 13 15:37:38 UTC 2014
---
c/src/lib/libcpu/i386/cache.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libcpu/i386/cache.c b/c/src/lib/libcpu/i386/cache.c
index 9e51a4c..66657ab 100644
--- a/c/src/lib/libcpu/i386/cache.c
+++ b/c/src/lib/libcpu/i386/cache.c
@@ -5,8 +5,10 @@
#include <rtems.h>
#include <rtems/score/registers.h>
#include "cache_.h"
+#include <libcpu/cpu.h>
-void _CPU_disable_cache(void) {
+void _CPU_disable_cache(void)
+{
unsigned int regCr0;
regCr0 = i386_get_cr0();
@@ -20,7 +22,8 @@ void _CPU_disable_cache(void) {
* Enable the entire cache
*/
-void _CPU_enable_cache(void) {
+void _CPU_enable_cache(void)
+{
unsigned int regCr0;
regCr0 = i386_get_cr0();
--
1.9.3
More information about the devel
mailing list