diff options
| author | Andrew Morton <akpm@osdl.org> | 2005-01-01 17:46:03 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-01 17:46:03 -0800 |
| commit | 7450c98147d77350d8841c7fcedf2bf69e30e50b (patch) | |
| tree | bd9f1facdfbaf27db18a277c31cbdb0f2e611c7a | |
| parent | a976c1c963b3dfebdc92e5a2d641ee605a1a92e6 (diff) | |
[PATCH] ia64 PTRS_PER_PGD build fix
mm/memory.c:1944:6: missing binary operator before token "long"
The preprocessor doesn't like the typecast....
PTRS_PER_PGD isn't used in assembly code, so this looks to be safe enough..
This patch helps, but the ia64 build is still broken. There is no
implementation of __pmd_alloc().
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | include/asm-ia64/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h index 304b0494294b..adebddf77424 100644 --- a/include/asm-ia64/pgtable.h +++ b/include/asm-ia64/pgtable.h @@ -91,7 +91,7 @@ #define PGDIR_SHIFT (PAGE_SHIFT + 2*(PAGE_SHIFT-3)) #define PGDIR_SIZE (__IA64_UL(1) << PGDIR_SHIFT) #define PGDIR_MASK (~(PGDIR_SIZE-1)) -#define PTRS_PER_PGD (__IA64_UL(1) << (PAGE_SHIFT-3)) +#define PTRS_PER_PGD (1UL << (PAGE_SHIFT-3)) #define USER_PTRS_PER_PGD (5*PTRS_PER_PGD/8) /* regions 0-4 are user regions */ #define FIRST_USER_PGD_NR 0 |
