diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
| commit | 857c68f733eea07f11a061caea43a38fed61adb7 (patch) | |
| tree | 4567a9e91f717b22143ac1ccb0fb5323ac15afd3 /arch/mips/dec | |
| parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) | |
| parent | 402a26f0c040077ed6f941eefac5a6971f0d5f40 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/mips/dec')
| -rw-r--r-- | arch/mips/dec/boot/decstation.c | 3 | ||||
| -rw-r--r-- | arch/mips/dec/int-handler.S | 14 | ||||
| -rw-r--r-- | arch/mips/dec/setup.c | 3 | 
3 files changed, 8 insertions, 12 deletions
| diff --git a/arch/mips/dec/boot/decstation.c b/arch/mips/dec/boot/decstation.c index 56fd4277555e..4db8bacaf22d 100644 --- a/arch/mips/dec/boot/decstation.c +++ b/arch/mips/dec/boot/decstation.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* | 1 | /* | 
| 2 | * arch/mips/dec/decstation.c | 2 | * arch/mips/dec/decstation.c | 
| 3 | */ | 3 | */ | 
| 4 | #include <asm/sections.h> | ||
| 4 | 5 | ||
| 5 | #define RELOC | 6 | #define RELOC | 
| 6 | #define INITRD | 7 | #define INITRD | 
| @@ -24,7 +25,7 @@ | |||
| 24 | #define INITRD_START (*(unsigned long *) (PARAM+0x218)) | 25 | #define INITRD_START (*(unsigned long *) (PARAM+0x218)) | 
| 25 | #define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c)) | 26 | #define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c)) | 
| 26 | 27 | ||
| 27 | extern int _ftext, _end; /* begin and end of kernel image */ | 28 | extern int _ftext; /* begin and end of kernel image */ | 
| 28 | extern void kernel_entry(int, char **, unsigned long, int *); | 29 | extern void kernel_entry(int, char **, unsigned long, int *); | 
| 29 | 30 | ||
| 30 | void * memcpy(void * dest, const void *src, unsigned int count) | 31 | void * memcpy(void * dest, const void *src, unsigned int count) | 
| diff --git a/arch/mips/dec/int-handler.S b/arch/mips/dec/int-handler.S index 41fa372007bf..e8ec93e33fe6 100644 --- a/arch/mips/dec/int-handler.S +++ b/arch/mips/dec/int-handler.S | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | .text | 36 | .text | 
| 37 | .set noreorder | 37 | .set noreorder | 
| 38 | /* | 38 | /* | 
| 39 | * decstation_handle_int: Interrupt handler for DECstations | 39 | * plat_irq_dispatch: Interrupt handler for DECstations | 
| 40 | * | 40 | * | 
| 41 | * We follow the model in the Indy interrupt code by David Miller, where he | 41 | * We follow the model in the Indy interrupt code by David Miller, where he | 
| 42 | * says: a lot of complication here is taken away because: | 42 | * says: a lot of complication here is taken away because: | 
| @@ -125,11 +125,7 @@ | |||
| 125 | * just take another exception, big deal. | 125 | * just take another exception, big deal. | 
| 126 | */ | 126 | */ | 
| 127 | .align 5 | 127 | .align 5 | 
| 128 | NESTED(decstation_handle_int, PT_SIZE, ra) | 128 | NESTED(plat_irq_dispatch, PT_SIZE, ra) | 
| 129 | .set noat | ||
| 130 | SAVE_ALL | ||
| 131 | CLI # TEST: interrupts should be off | ||
| 132 | .set at | ||
| 133 | .set noreorder | 129 | .set noreorder | 
| 134 | 130 | ||
| 135 | /* | 131 | /* | 
| @@ -282,9 +278,11 @@ fpu: | |||
| 282 | #endif | 278 | #endif | 
| 283 | 279 | ||
| 284 | spurious: | 280 | spurious: | 
| 285 | j spurious_interrupt | 281 | jal spurious_interrupt | 
| 286 | nop | 282 | nop | 
| 287 | END(decstation_handle_int) | 283 | j ret_from_irq | 
| 284 | nop | ||
| 285 | END(plat_irq_dispatch) | ||
| 288 | 286 | ||
| 289 | /* | 287 | /* | 
| 290 | * Generic unimplemented interrupt routines -- cpu_mask_nr_tbl | 288 | * Generic unimplemented interrupt routines -- cpu_mask_nr_tbl | 
| diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c index 7c1ca8f6330e..ad5d436d80c1 100644 --- a/arch/mips/dec/setup.c +++ b/arch/mips/dec/setup.c | |||
| @@ -48,8 +48,6 @@ extern void dec_machine_halt(void); | |||
| 48 | extern void dec_machine_power_off(void); | 48 | extern void dec_machine_power_off(void); | 
| 49 | extern irqreturn_t dec_intr_halt(int irq, void *dev_id, struct pt_regs *regs); | 49 | extern irqreturn_t dec_intr_halt(int irq, void *dev_id, struct pt_regs *regs); | 
| 50 | 50 | ||
| 51 | extern asmlinkage void decstation_handle_int(void); | ||
| 52 | |||
| 53 | unsigned long dec_kn_slot_base, dec_kn_slot_size; | 51 | unsigned long dec_kn_slot_base, dec_kn_slot_size; | 
| 54 | 52 | ||
| 55 | EXPORT_SYMBOL(dec_kn_slot_base); | 53 | EXPORT_SYMBOL(dec_kn_slot_base); | 
| @@ -744,7 +742,6 @@ void __init arch_init_irq(void) | |||
| 744 | panic("Don't know how to set this up!"); | 742 | panic("Don't know how to set this up!"); | 
| 745 | break; | 743 | break; | 
| 746 | } | 744 | } | 
| 747 | set_except_vector(0, decstation_handle_int); | ||
| 748 | 745 | ||
| 749 | /* Free the FPU interrupt if the exception is present. */ | 746 | /* Free the FPU interrupt if the exception is present. */ | 
| 750 | if (!cpu_has_nofpuex) { | 747 | if (!cpu_has_nofpuex) { | 
