summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/setup.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-01-28 14:58:52 +0100
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:16:40 -0500
commita8f44e3889b686813926b288bd4e51a0cf17d2c7 (patch)
treef6c4078aecbe33274bf1c1cff4c9e18a8ed90eaf /arch/parisc/kernel/setup.c
parent0b3d643f9ead9b5141dedbb2d1b06ce15469fc4a (diff)
downloadop-kernel-dev-a8f44e3889b686813926b288bd4e51a0cf17d2c7.zip
op-kernel-dev-a8f44e3889b686813926b288bd4e51a0cf17d2c7.tar.gz
[PARISC] use CONFIG_64BIT instead of __LP64__
- additionally update my copyright timestamps Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/setup.c')
-rw-r--r--arch/parisc/kernel/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index 3c7a3fa..21b9fb1 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -120,13 +120,13 @@ extern void collect_boot_cpu_data(void);
void __init setup_arch(char **cmdline_p)
{
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
extern int parisc_narrow_firmware;
#endif
init_per_cpu(smp_processor_id()); /* Set Modes & Enable FP */
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
printk(KERN_INFO "The 64-bit Kernel has started...\n");
#else
printk(KERN_INFO "The 32-bit Kernel has started...\n");
@@ -134,7 +134,7 @@ void __init setup_arch(char **cmdline_p)
pdc_console_init();
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
if(parisc_narrow_firmware) {
printk(KERN_INFO "Kernel is using PDC in 32-bit mode.\n");
}
OpenPOWER on IntegriCloud