core: don't use "const volatile" in __jiffies definition
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 03:28:54 +0000 (19:28 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 03:28:54 +0000 (19:28 -0800)
It looks like some versions of gcc might have issues with "const
volatile".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/include/core.h

index ba0264b..50e2be4 100644 (file)
@@ -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;