diff options
author | Sam Ravnborg | 2007-10-16 10:26:35 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-10-16 18:43:03 +0200 |
commit | b2b5d37d7ee1592046ef75986c6d37ee9d55a61b (patch) | |
tree | eedd9c12c7a0aa84252ad8f42d2c13d5e9ef39eb /include/asm-alpha | |
parent | alpha: convert to generic sys_ptrace (diff) | |
download | kernel-qcow2-linux-b2b5d37d7ee1592046ef75986c6d37ee9d55a61b.tar.gz kernel-qcow2-linux-b2b5d37d7ee1592046ef75986c6d37ee9d55a61b.tar.xz kernel-qcow2-linux-b2b5d37d7ee1592046ef75986c6d37ee9d55a61b.zip |
alpha: beautify vmlinux.lds
Introduced a consistent style in vmlinux.lds and it now matches the
soon-to-be common style for all arch's vmlinux.lds files.
In addition:
- Replaced hardcoded constant with PAGE_SIZE
- Fix page.h so PAGE_SIZE can be used from assembler and in lds files
- Move a few labels inside brackets so linker alignment will not
make label point ot a too low address
- Replaced DWARF and STABS sections with definitions from asm-generic
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-alpha')
-rw-r--r-- | include/asm-alpha/page.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-alpha/page.h b/include/asm-alpha/page.h index bae7f05716d4..8cc97bfd3789 100644 --- a/include/asm-alpha/page.h +++ b/include/asm-alpha/page.h @@ -3,11 +3,12 @@ #ifdef __KERNEL__ +#include <linux/const.h> #include <asm/pal.h> /* PAGE_SHIFT determines the page size */ #define PAGE_SHIFT 13 -#define PAGE_SIZE (1UL << PAGE_SHIFT) +#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) #ifndef __ASSEMBLY__ |