summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-28 19:28:54 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-28 19:28:54 -0800
commit48a401b4ea72752561a887edc12a1f3df336d7a8 (patch)
treeb1366ad1f0738321ddfd1f7072e3028f4daa936d /core/include
parent33cc00e1bd268148efdd994b1fb961645ab95cd7 (diff)
downloadsyslinux-48a401b4ea72752561a887edc12a1f3df336d7a8.tar.gz
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 <hpa@zytor.com>
Diffstat (limited to 'core/include')
-rw-r--r--core/include/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/core.h b/core/include/core.h
index ba0264b2..50e2be4c 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;