[syslinux:pathbased] core: don't use "const volatile" in __jiffies definition

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Feb 28 19:30:05 PST 2010


Commit-ID:  48a401b4ea72752561a887edc12a1f3df336d7a8
Gitweb:     http://syslinux.zytor.com/commit/48a401b4ea72752561a887edc12a1f3df336d7a8
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 28 Feb 2010 19:28:54 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 28 Feb 2010 19:28:54 -0800

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 at zytor.com>


---
 core/include/core.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;



More information about the Syslinux-commits mailing list