diff options
-rw-r--r-- | arch/m68knommu/kernel/m68k_ksyms.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/kernel/setup.c | 2 | ||||
-rw-r--r-- | include/asm-m68knommu/irq.h | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/m68knommu/kernel/m68k_ksyms.c b/arch/m68knommu/kernel/m68k_ksyms.c index e93a5ad56496..b2c62eeb3bab 100644 --- a/arch/m68knommu/kernel/m68k_ksyms.c +++ b/arch/m68knommu/kernel/m68k_ksyms.c | |||
@@ -38,8 +38,6 @@ EXPORT_SYMBOL(strncmp); | |||
38 | 38 | ||
39 | EXPORT_SYMBOL(ip_fast_csum); | 39 | EXPORT_SYMBOL(ip_fast_csum); |
40 | 40 | ||
41 | EXPORT_SYMBOL(mach_enable_irq); | ||
42 | EXPORT_SYMBOL(mach_disable_irq); | ||
43 | EXPORT_SYMBOL(kernel_thread); | 41 | EXPORT_SYMBOL(kernel_thread); |
44 | 42 | ||
45 | /* Networking helper routines. */ | 43 | /* Networking helper routines. */ |
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68knommu/kernel/setup.c index abb80fa2b940..93120b9bfff1 100644 --- a/arch/m68knommu/kernel/setup.c +++ b/arch/m68knommu/kernel/setup.c | |||
@@ -65,8 +65,6 @@ void (*mach_kbd_leds) (unsigned int) = NULL; | |||
65 | /* machine dependent irq functions */ | 65 | /* machine dependent irq functions */ |
66 | void (*mach_init_IRQ) (void) = NULL; | 66 | void (*mach_init_IRQ) (void) = NULL; |
67 | irqreturn_t (*(*mach_default_handler)[]) (int, void *, struct pt_regs *) = NULL; | 67 | irqreturn_t (*(*mach_default_handler)[]) (int, void *, struct pt_regs *) = NULL; |
68 | void (*mach_enable_irq) (unsigned int) = NULL; | ||
69 | void (*mach_disable_irq) (unsigned int) = NULL; | ||
70 | int (*mach_get_irq_list) (struct seq_file *, void *) = NULL; | 68 | int (*mach_get_irq_list) (struct seq_file *, void *) = NULL; |
71 | void (*mach_process_int) (int irq, struct pt_regs *fp) = NULL; | 69 | void (*mach_process_int) (int irq, struct pt_regs *fp) = NULL; |
72 | void (*mach_trap_init) (void); | 70 | void (*mach_trap_init) (void); |
diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h index a08fa9b958da..993046b1e380 100644 --- a/include/asm-m68knommu/irq.h +++ b/include/asm-m68knommu/irq.h | |||
@@ -84,8 +84,8 @@ extern void (*mach_disable_irq)(unsigned int); | |||
84 | /* | 84 | /* |
85 | * Some drivers want these entry points | 85 | * Some drivers want these entry points |
86 | */ | 86 | */ |
87 | #define enable_irq(x) (mach_enable_irq ? (*mach_enable_irq)(x) : 0) | 87 | #define enable_irq(x) 0 |
88 | #define disable_irq(x) (mach_disable_irq ? (*mach_disable_irq)(x) : 0) | 88 | #define disable_irq(x) do { } while (0) |
89 | 89 | ||
90 | #define enable_irq_nosync(x) enable_irq(x) | 90 | #define enable_irq_nosync(x) enable_irq(x) |
91 | #define disable_irq_nosync(x) disable_irq(x) | 91 | #define disable_irq_nosync(x) disable_irq(x) |