diff options
Diffstat (limited to 'arch/v850')
| -rw-r--r-- | arch/v850/Makefile | 14 | ||||
| -rw-r--r-- | arch/v850/kernel/asm-offsets.c (renamed from arch/v850/kernel/asm-consts.c) | 0 | ||||
| -rw-r--r-- | arch/v850/kernel/entry.S | 2 | ||||
| -rw-r--r-- | arch/v850/kernel/irq.c | 14 | ||||
| -rw-r--r-- | arch/v850/kernel/setup.c | 14 | ||||
| -rw-r--r-- | arch/v850/kernel/sim.c | 14 |
6 files changed, 23 insertions, 35 deletions
diff --git a/arch/v850/Makefile b/arch/v850/Makefile index bf38ca0ad781..8be9aacb20a7 100644 --- a/arch/v850/Makefile +++ b/arch/v850/Makefile | |||
| @@ -51,16 +51,4 @@ root_fs_image_force: $(ROOT_FS_IMAGE) | |||
| 51 | $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o | 51 | $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o |
| 52 | endif | 52 | endif |
| 53 | 53 | ||
| 54 | 54 | CLEAN_FILES += root_fs_image.o | |
| 55 | prepare: include/asm-$(ARCH)/asm-consts.h | ||
| 56 | |||
| 57 | # Generate constants from C code for use by asm files | ||
| 58 | arch/$(ARCH)/kernel/asm-consts.s: include/asm include/linux/version.h \ | ||
| 59 | include/config/MARKER | ||
| 60 | |||
| 61 | include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.s | ||
| 62 | $(call filechk,gen-asm-offsets) | ||
| 63 | |||
| 64 | CLEAN_FILES += include/asm-$(ARCH)/asm-consts.h \ | ||
| 65 | arch/$(ARCH)/kernel/asm-consts.s \ | ||
| 66 | root_fs_image.o | ||
diff --git a/arch/v850/kernel/asm-consts.c b/arch/v850/kernel/asm-offsets.c index 24f291369070..24f291369070 100644 --- a/arch/v850/kernel/asm-consts.c +++ b/arch/v850/kernel/asm-offsets.c | |||
diff --git a/arch/v850/kernel/entry.S b/arch/v850/kernel/entry.S index 895e27b1d839..d991e4547dbb 100644 --- a/arch/v850/kernel/entry.S +++ b/arch/v850/kernel/entry.S | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #include <asm/irq.h> | 22 | #include <asm/irq.h> |
| 23 | #include <asm/errno.h> | 23 | #include <asm/errno.h> |
| 24 | 24 | ||
| 25 | #include <asm/asm-consts.h> | 25 | #include <asm/asm-offsets.h> |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | /* Make a slightly more convenient alias for C_SYMBOL_NAME. */ | 28 | /* Make a slightly more convenient alias for C_SYMBOL_NAME. */ |
diff --git a/arch/v850/kernel/irq.c b/arch/v850/kernel/irq.c index 336cbf21dc8f..9e85969ba976 100644 --- a/arch/v850/kernel/irq.c +++ b/arch/v850/kernel/irq.c | |||
| @@ -67,13 +67,13 @@ static void ack_none(unsigned int irq) | |||
| 67 | #define end_none enable_none | 67 | #define end_none enable_none |
| 68 | 68 | ||
| 69 | struct hw_interrupt_type no_irq_type = { | 69 | struct hw_interrupt_type no_irq_type = { |
| 70 | "none", | 70 | .typename = "none", |
| 71 | startup_none, | 71 | .startup = startup_none, |
| 72 | shutdown_none, | 72 | .shutdown = shutdown_none, |
| 73 | enable_none, | 73 | .enable = enable_none, |
| 74 | disable_none, | 74 | .disable = disable_none, |
| 75 | ack_none, | 75 | .ack = ack_none, |
| 76 | end_none | 76 | .end = end_none |
| 77 | }; | 77 | }; |
| 78 | 78 | ||
| 79 | volatile unsigned long irq_err_count, spurious_count; | 79 | volatile unsigned long irq_err_count, spurious_count; |
diff --git a/arch/v850/kernel/setup.c b/arch/v850/kernel/setup.c index abd48409dcca..62bdb8d29fc0 100644 --- a/arch/v850/kernel/setup.c +++ b/arch/v850/kernel/setup.c | |||
| @@ -138,13 +138,13 @@ static void nmi_end (unsigned irq) | |||
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | static struct hw_interrupt_type nmi_irq_type = { | 140 | static struct hw_interrupt_type nmi_irq_type = { |
| 141 | "NMI", | 141 | .typename = "NMI", |
| 142 | irq_zero, /* startup */ | 142 | .startup = irq_zero, /* startup */ |
| 143 | irq_nop, /* shutdown */ | 143 | .shutdown = irq_nop, /* shutdown */ |
| 144 | irq_nop, /* enable */ | 144 | .enable = irq_nop, /* enable */ |
| 145 | irq_nop, /* disable */ | 145 | .disable = irq_nop, /* disable */ |
| 146 | irq_nop, /* ack */ | 146 | .ack = irq_nop, /* ack */ |
| 147 | nmi_end, /* end */ | 147 | .end = nmi_end, /* end */ |
| 148 | }; | 148 | }; |
| 149 | 149 | ||
| 150 | void __init init_IRQ (void) | 150 | void __init init_IRQ (void) |
diff --git a/arch/v850/kernel/sim.c b/arch/v850/kernel/sim.c index e2cc5580fa2a..17049aaa8f11 100644 --- a/arch/v850/kernel/sim.c +++ b/arch/v850/kernel/sim.c | |||
| @@ -73,13 +73,13 @@ static void irq_nop (unsigned irq) { } | |||
| 73 | static unsigned irq_zero (unsigned irq) { return 0; } | 73 | static unsigned irq_zero (unsigned irq) { return 0; } |
| 74 | 74 | ||
| 75 | static struct hw_interrupt_type sim_irq_type = { | 75 | static struct hw_interrupt_type sim_irq_type = { |
| 76 | "IRQ", | 76 | .typename = "IRQ", |
| 77 | irq_zero, /* startup */ | 77 | .startup = irq_zero, /* startup */ |
| 78 | irq_nop, /* shutdown */ | 78 | .shutdown = irq_nop, /* shutdown */ |
| 79 | irq_nop, /* enable */ | 79 | .enable = irq_nop, /* enable */ |
| 80 | irq_nop, /* disable */ | 80 | .disable = irq_nop, /* disable */ |
| 81 | irq_nop, /* ack */ | 81 | .ack = irq_nop, /* ack */ |
| 82 | irq_nop, /* end */ | 82 | .end = irq_nop, /* end */ |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | void __init mach_init_irqs (void) | 85 | void __init mach_init_irqs (void) |
