]> Pileus Git - ~andy/linux/blobdiff - arch/parisc/kernel/traps.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
[~andy/linux] / arch / parisc / kernel / traps.c
index 1f62853e4c02fa4967587d29c9d88722649f8735..55bc1471967d2221badf806b78aada441760f0c7 100644 (file)
@@ -64,7 +64,7 @@ static int printbinary(char *buf, unsigned long x, int nbits)
        return nbits;
 }
 
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
 #define RFMT "%016lx"
 #else
 #define RFMT "%08lx"
@@ -837,7 +837,7 @@ int __init check_ivt(void *iva)
        return 0;
 }
        
-#ifndef __LP64__
+#ifndef CONFIG_64BIT
 extern const void fault_vector_11;
 #endif
 extern const void fault_vector_20;
@@ -849,7 +849,7 @@ void __init trap_init(void)
        if (boot_cpu_data.cpu_type >= pcxu)
                iva = (void *) &fault_vector_20;
        else
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
                panic("Can't boot 64-bit OS on PA1.1 processor!");
 #else
                iva = (void *) &fault_vector_11;