From 48a401b4ea72752561a887edc12a1f3df336d7a8 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 28 Feb 2010 19:28:54 -0800 Subject: [PATCH] core: don't use "const volatile" in __jiffies definition It looks like some versions of gcc might have issues with "const volatile". Signed-off-by: H. Peter Anvin --- core/include/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/core.h b/core/include/core.h index ba0264b..50e2be4 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -59,7 +59,7 @@ __noreturn _kaboom(void); /* * Basic timer function... */ -extern const volatile uint32_t __jiffies; +extern volatile uint32_t __jiffies; static inline uint32_t jiffies(void) { return __jiffies; -- 2.7.4