projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa0772
)
score: Make PAGE_SIZE available to assembly.
author
Tim Abbott
<tabbott@ksplice.com>
Sun, 20 Sep 2009 17:32:57 +0000
(13:32 -0400)
committer
Chen Liqin
<liqin.chen@sunplusct.com>
Wed, 23 Sep 2009 05:35:51 +0000
(13:35 +0800)
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
arch/score/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/score/include/asm/page.h
b/arch/score/include/asm/page.h
index ee5821042fcc947d0994a9c6c6c7a6118cf84d4f..d92a5a2d36d40c434ee833543275b6e296ef192b 100644
(file)
--- a/
arch/score/include/asm/page.h
+++ b/
arch/score/include/asm/page.h
@@
-2,10
+2,11
@@
#define _ASM_SCORE_PAGE_H
#include <linux/pfn.h>
+#include <linux/const.h>
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT (12)
-#define PAGE_SIZE (
1UL
<< PAGE_SHIFT)
+#define PAGE_SIZE (
_AC(1,UL)
<< PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#ifdef __KERNEL__