diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-02 13:14:37 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-02 13:14:37 -0500 |
| commit | e957b00a8caece90cbc2afd0a4cb4c4d61b9efa8 (patch) | |
| tree | 3c8388217251e9d408b0cd93d3dd0620eb77962e /arch | |
| parent | 096e5bdaf166791e128ed3b9190542412559333b (diff) | |
| parent | 236d333c3c05c179e31f461285c09271256a1381 (diff) | |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Do not use -msym32 option for modules.
[MIPS] Don't use R10000 llsc workaround version for all llsc-full processors.
[MIPS] Ocelot G: Fix : "CURRENTLY_UNUSED" is not defined warning.
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
[MIPS] IP27: Allow SMP ;-) Another changeset messed up by patch.
[MIPS] Fix merge screwup by patch(1)
Revert "[MIPS] Make SPARSEMEM selectable on QEMU."
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/Kconfig | 9 | ||||
| -rw-r--r-- | arch/mips/Makefile | 4 | ||||
| -rw-r--r-- | arch/mips/kernel/setup.c | 6 | ||||
| -rw-r--r-- | arch/mips/momentum/ocelot_g/gt-irq.c | 8 |
4 files changed, 15 insertions, 12 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 74ba76378113..1443024b1c7c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -408,7 +408,7 @@ config MOMENCO_OCELOT_C | |||
| 408 | select SWAP_IO_SPACE | 408 | select SWAP_IO_SPACE |
| 409 | select SYS_HAS_CPU_RM7000 | 409 | select SYS_HAS_CPU_RM7000 |
| 410 | select SYS_SUPPORTS_32BIT_KERNEL | 410 | select SYS_SUPPORTS_32BIT_KERNEL |
| 411 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN | 411 | select SYS_SUPPORTS_64BIT_KERNEL |
| 412 | select SYS_SUPPORTS_BIG_ENDIAN | 412 | select SYS_SUPPORTS_BIG_ENDIAN |
| 413 | help | 413 | help |
| 414 | The Ocelot is a MIPS-based Single Board Computer (SBC) made by | 414 | The Ocelot is a MIPS-based Single Board Computer (SBC) made by |
| @@ -425,9 +425,8 @@ config MOMENCO_OCELOT_G | |||
| 425 | select SWAP_IO_SPACE | 425 | select SWAP_IO_SPACE |
| 426 | select SYS_HAS_CPU_RM7000 | 426 | select SYS_HAS_CPU_RM7000 |
| 427 | select SYS_SUPPORTS_32BIT_KERNEL | 427 | select SYS_SUPPORTS_32BIT_KERNEL |
| 428 | select SYS_SUPPORTS_64BIT_KERNEL | 428 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN |
| 429 | select SYS_SUPPORTS_BIG_ENDIAN | 429 | select SYS_SUPPORTS_BIG_ENDIAN |
| 430 | select ARCH_SPARSEMEM_ENABLE | ||
| 431 | help | 430 | help |
| 432 | The Ocelot is a MIPS-based Single Board Computer (SBC) made by | 431 | The Ocelot is a MIPS-based Single Board Computer (SBC) made by |
| 433 | Momentum Computer <http://www.momenco.com/>. | 432 | Momentum Computer <http://www.momenco.com/>. |
| @@ -560,6 +559,7 @@ config SGI_IP27 | |||
| 560 | select SYS_SUPPORTS_64BIT_KERNEL | 559 | select SYS_SUPPORTS_64BIT_KERNEL |
| 561 | select SYS_SUPPORTS_BIG_ENDIAN | 560 | select SYS_SUPPORTS_BIG_ENDIAN |
| 562 | select SYS_SUPPORTS_NUMA | 561 | select SYS_SUPPORTS_NUMA |
| 562 | select SYS_SUPPORTS_SMP | ||
| 563 | help | 563 | help |
| 564 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics | 564 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics |
| 565 | workstations. To compile a Linux kernel that runs on these, say Y | 565 | workstations. To compile a Linux kernel that runs on these, say Y |
| @@ -1633,9 +1633,6 @@ config ARCH_DISCONTIGMEM_ENABLE | |||
| 1633 | 1633 | ||
| 1634 | config ARCH_SPARSEMEM_ENABLE | 1634 | config ARCH_SPARSEMEM_ENABLE |
| 1635 | bool | 1635 | bool |
| 1636 | |||
| 1637 | config ARCH_SPARSEMEM_ENABLE | ||
| 1638 | bool | ||
| 1639 | select SPARSEMEM_STATIC | 1636 | select SPARSEMEM_STATIC |
| 1640 | 1637 | ||
| 1641 | config NUMA | 1638 | config NUMA |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 641aa30b3638..d580d46f967b 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
| @@ -63,7 +63,9 @@ cflags-y += -mabi=64 | |||
| 63 | ifdef CONFIG_BUILD_ELF64 | 63 | ifdef CONFIG_BUILD_ELF64 |
| 64 | cflags-y += $(call cc-option,-mno-explicit-relocs) | 64 | cflags-y += $(call cc-option,-mno-explicit-relocs) |
| 65 | else | 65 | else |
| 66 | cflags-y += $(call cc-option,-msym32) | 66 | # -msym32 can not be used for modules since they are loaded into XKSEG |
| 67 | CFLAGS_MODULE += $(call cc-option,-mno-explicit-relocs) | ||
| 68 | CFLAGS_KERNEL += $(call cc-option,-msym32) | ||
| 67 | endif | 69 | endif |
| 68 | endif | 70 | endif |
| 69 | 71 | ||
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index fdbb508661c5..8f6e89697ccf 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
| @@ -223,7 +223,11 @@ disable: | |||
| 223 | 223 | ||
| 224 | #else /* !CONFIG_BLK_DEV_INITRD */ | 224 | #else /* !CONFIG_BLK_DEV_INITRD */ |
| 225 | 225 | ||
| 226 | #define init_initrd() 0 | 226 | static unsigned long __init init_initrd(void) |
| 227 | { | ||
| 228 | return 0; | ||
| 229 | } | ||
| 230 | |||
| 227 | #define finalize_initrd() do {} while (0) | 231 | #define finalize_initrd() do {} while (0) |
| 228 | 232 | ||
| 229 | #endif | 233 | #endif |
diff --git a/arch/mips/momentum/ocelot_g/gt-irq.c b/arch/mips/momentum/ocelot_g/gt-irq.c index 7b5cc6648f7e..e5576bd50fa9 100644 --- a/arch/mips/momentum/ocelot_g/gt-irq.c +++ b/arch/mips/momentum/ocelot_g/gt-irq.c | |||
| @@ -27,7 +27,7 @@ unsigned long bus_clock; | |||
| 27 | * be handled and ack'ed differently than other MIPS interrupts. | 27 | * be handled and ack'ed differently than other MIPS interrupts. |
| 28 | */ | 28 | */ |
| 29 | 29 | ||
| 30 | #if CURRENTLY_UNUSED | 30 | #if 0 |
| 31 | 31 | ||
| 32 | struct tq_struct irq_handlers[MAX_CAUSE_REGS][MAX_CAUSE_REG_WIDTH]; | 32 | struct tq_struct irq_handlers[MAX_CAUSE_REGS][MAX_CAUSE_REG_WIDTH]; |
| 33 | void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr); | 33 | void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr); |
| @@ -95,7 +95,7 @@ int disable_galileo_irq(int int_cause, int bit_num) | |||
| 95 | return 0; | 95 | return 0; |
| 96 | return 1; | 96 | return 1; |
| 97 | } | 97 | } |
| 98 | #endif /* UNUSED */ | 98 | #endif /* 0 */ |
| 99 | 99 | ||
| 100 | /* | 100 | /* |
| 101 | * Interrupt handler for interrupts coming from the Galileo chip via P0_INT#. | 101 | * Interrupt handler for interrupts coming from the Galileo chip via P0_INT#. |
| @@ -196,7 +196,7 @@ void gt64240_time_init(void) | |||
| 196 | 196 | ||
| 197 | void gt64240_irq_init(void) | 197 | void gt64240_irq_init(void) |
| 198 | { | 198 | { |
| 199 | #if CURRENTLY_UNUSED | 199 | #if 0 |
| 200 | int i, j; | 200 | int i, j; |
| 201 | 201 | ||
| 202 | /* Reset irq handlers pointers to NULL */ | 202 | /* Reset irq handlers pointers to NULL */ |
| @@ -208,5 +208,5 @@ void gt64240_irq_init(void) | |||
| 208 | irq_handlers[i][j].data = NULL; | 208 | irq_handlers[i][j].data = NULL; |
| 209 | } | 209 | } |
| 210 | } | 210 | } |
| 211 | #endif | 211 | #endif /* 0 */ |
| 212 | } | 212 | } |
