Commit 95c15e30 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] Convert PARISC64 to 64BIT

More CONFIG_PARISC64 to CONFIG_64BIT conversion
Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 241ce641
...@@ -19,6 +19,6 @@ obj-$(CONFIG_SMP) += smp.o ...@@ -19,6 +19,6 @@ obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PA11) += pci-dma.o obj-$(CONFIG_PA11) += pci-dma.o
obj-$(CONFIG_PCI) += pci.o obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_MODULES) += module.o
obj-$(CONFIG_PARISC64) += binfmt_elf32.o sys_parisc32.o ioctl32.o signal32.o obj-$(CONFIG_64BIT) += binfmt_elf32.o sys_parisc32.o ioctl32.o signal32.o
# only supported for PCX-W/U in 64-bit mode at the moment # only supported for PCX-W/U in 64-bit mode at the moment
obj-$(CONFIG_PARISC64) += perf.o perf_asm.o obj-$(CONFIG_64BIT) += perf.o perf_asm.o
...@@ -182,7 +182,7 @@ int pdc_chassis_send_status(int message) ...@@ -182,7 +182,7 @@ int pdc_chassis_send_status(int message)
DPRINTK(KERN_DEBUG "%s: pdc_chassis_send_status(%d)\n", __FILE__, message); DPRINTK(KERN_DEBUG "%s: pdc_chassis_send_status(%d)\n", __FILE__, message);
#ifdef CONFIG_PARISC64 #ifdef CONFIG_64BIT
if (is_pdc_pat()) { if (is_pdc_pat()) {
switch(message) { switch(message) {
case PDC_CHASSIS_DIRECT_BSTART: case PDC_CHASSIS_DIRECT_BSTART:
...@@ -238,7 +238,7 @@ int pdc_chassis_send_status(int message) ...@@ -238,7 +238,7 @@ int pdc_chassis_send_status(int message)
retval = -1; retval = -1;
} }
} else retval = -1; } else retval = -1;
#endif /* CONFIG_PARISC64 */ #endif /* CONFIG_64BIT */
} /* if (pdc_chassis_enabled) */ } /* if (pdc_chassis_enabled) */
#endif /* CONFIG_PDC_CHASSIS */ #endif /* CONFIG_PDC_CHASSIS */
return retval; return retval;
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
#include <linux/config.h> #include <linux/config.h>
#include <asm/assembly.h> #include <asm/assembly.h>
#ifdef __LP64__ #ifdef CONFIG_64BIT
.level 2.0w .level 2.0w
#endif /* __LP64__ */ #endif /* CONFIG_64BIT */
#define MTDIAG_1(gr) .word 0x14201840 + gr*0x10000 #define MTDIAG_1(gr) .word 0x14201840 + gr*0x10000
#define MTDIAG_2(gr) .word 0x14401840 + gr*0x10000 #define MTDIAG_2(gr) .word 0x14401840 + gr*0x10000
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <asm/page.h> #include <asm/page.h>
/* ld script to make hppa Linux kernel */ /* ld script to make hppa Linux kernel */
#ifndef CONFIG_PARISC64 #ifndef CONFIG_64BIT
OUTPUT_FORMAT("elf32-hppa-linux") OUTPUT_FORMAT("elf32-hppa-linux")
OUTPUT_ARCH(hppa) OUTPUT_ARCH(hppa)
#else #else
...@@ -38,7 +38,7 @@ OUTPUT_ARCH(hppa:hppa2.0w) ...@@ -38,7 +38,7 @@ OUTPUT_ARCH(hppa:hppa2.0w)
#endif #endif
ENTRY(_stext) ENTRY(_stext)
#ifndef CONFIG_PARISC64 #ifndef CONFIG_64BIT
jiffies = jiffies_64 + 4; jiffies = jiffies_64 + 4;
#else #else
jiffies = jiffies_64; jiffies = jiffies_64;
...@@ -112,7 +112,7 @@ SECTIONS ...@@ -112,7 +112,7 @@ SECTIONS
. = ALIGN(16384); . = ALIGN(16384);
init_istack : { *(init_istack) } init_istack : { *(init_istack) }
#ifdef CONFIG_PARISC64 #ifdef CONFIG_64BIT
. = ALIGN(16); /* Linkage tables */ . = ALIGN(16); /* Linkage tables */
.opd : { *(.opd) } PROVIDE (__gp = .); .opd : { *(.opd) } PROVIDE (__gp = .);
.plt : { *(.plt) } .plt : { *(.plt) }
...@@ -180,7 +180,7 @@ SECTIONS ...@@ -180,7 +180,7 @@ SECTIONS
/* Sections to be discarded */ /* Sections to be discarded */
/DISCARD/ : { /DISCARD/ : {
*(.exitcall.exit) *(.exitcall.exit)
#ifdef CONFIG_PARISC64 #ifdef CONFIG_64BIT
/* temporary hack until binutils is fixed to not emit these /* temporary hack until binutils is fixed to not emit these
for static binaries */ for static binaries */
*(.interp) *(.interp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment