diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
commit | 40ef8cbc6d360e564573eb19582249c35d8ba330 (patch) | |
tree | abba70b7da8bef93a87431691dc8df79eb4425d5 /arch/powerpc/kernel/btext.c | |
parent | bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b (diff) |
powerpc: Get 64-bit configs to compile with ARCH=powerpc
This is a bunch of mostly small fixes that are needed to get
ARCH=powerpc to compile for 64-bit. This adds setup_64.c from
arch/ppc64/kernel/setup.c and locks.c from arch/ppc64/lib/locks.c.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/btext.c')
-rw-r--r-- | arch/powerpc/kernel/btext.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/btext.c b/arch/powerpc/kernel/btext.c index 44f5d98e27c0..bdfba92b2b38 100644 --- a/arch/powerpc/kernel/btext.c +++ b/arch/powerpc/kernel/btext.c | |||
@@ -50,7 +50,7 @@ static unsigned char vga_font[cmapsz]; | |||
50 | int boot_text_mapped; | 50 | int boot_text_mapped; |
51 | int force_printk_to_btext = 0; | 51 | int force_printk_to_btext = 0; |
52 | 52 | ||
53 | 53 | #ifdef CONFIG_PPC32 | |
54 | /* Calc BAT values for mapping the display and store them | 54 | /* Calc BAT values for mapping the display and store them |
55 | * in disp_BAT. Those values are then used from head.S to map | 55 | * in disp_BAT. Those values are then used from head.S to map |
56 | * the display during identify_machine() and MMU_Init() | 56 | * the display during identify_machine() and MMU_Init() |
@@ -93,6 +93,7 @@ btext_prepare_BAT(void) | |||
93 | } | 93 | } |
94 | logicalDisplayBase = (void *) (vaddr + lowbits); | 94 | logicalDisplayBase = (void *) (vaddr + lowbits); |
95 | } | 95 | } |
96 | #endif | ||
96 | 97 | ||
97 | /* This function will enable the early boot text when doing OF booting. This | 98 | /* This function will enable the early boot text when doing OF booting. This |
98 | * way, xmon output should work too | 99 | * way, xmon output should work too |