Commit 986815a1 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k PAGE_SIZE warnings

M68k: Make PAGE_SIZE unsigned long to kill more warnings (cfr. other
architectures), except for asm, since gas cannot cope with the UL.
parent f3c7adf5
...@@ -6,10 +6,13 @@ ...@@ -6,10 +6,13 @@
/* PAGE_SHIFT determines the page size */ /* PAGE_SHIFT determines the page size */
#ifndef CONFIG_SUN3 #ifndef CONFIG_SUN3
#define PAGE_SHIFT (12) #define PAGE_SHIFT (12)
#define PAGE_SIZE (4096)
#else #else
#define PAGE_SHIFT (13) #define PAGE_SHIFT (13)
#define PAGE_SIZE (8192) #endif
#ifdef __ASSEMBLY__
#define PAGE_SIZE (1 << PAGE_SHIFT)
#else
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#endif #endif
#define PAGE_MASK (~(PAGE_SIZE-1)) #define PAGE_MASK (~(PAGE_SIZE-1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment