projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cc00e
)
core: don't use "const volatile" in __jiffies definition
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 1 Mar 2010 03:28:54 +0000
(19:28 -0800)
committer
H. 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
patch
|
blob
|
history
diff --git
a/core/include/core.h
b/core/include/core.h
index
ba0264b
..
50e2be4
100644
(file)
--- 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;