diff options
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/floppy.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/sun3xflop.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/uaccess.h | 7 |
3 files changed, 9 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/floppy.h b/arch/m68k/include/asm/floppy.h index 697d50393dd0..47365b1ccbec 100644 --- a/arch/m68k/include/asm/floppy.h +++ b/arch/m68k/include/asm/floppy.h | |||
@@ -85,7 +85,7 @@ static int fd_request_irq(void) | |||
85 | { | 85 | { |
86 | if(MACH_IS_Q40) | 86 | if(MACH_IS_Q40) |
87 | return request_irq(FLOPPY_IRQ, floppy_hardint, | 87 | return request_irq(FLOPPY_IRQ, floppy_hardint, |
88 | IRQF_DISABLED, "floppy", floppy_hardint); | 88 | 0, "floppy", floppy_hardint); |
89 | else if(MACH_IS_SUN3X) | 89 | else if(MACH_IS_SUN3X) |
90 | return sun3xflop_request_irq(); | 90 | return sun3xflop_request_irq(); |
91 | return -ENXIO; | 91 | return -ENXIO; |
diff --git a/arch/m68k/include/asm/sun3xflop.h b/arch/m68k/include/asm/sun3xflop.h index 95231e2f9d64..a02ea3a7bb20 100644 --- a/arch/m68k/include/asm/sun3xflop.h +++ b/arch/m68k/include/asm/sun3xflop.h | |||
@@ -207,7 +207,7 @@ static int sun3xflop_request_irq(void) | |||
207 | if(!once) { | 207 | if(!once) { |
208 | once = 1; | 208 | once = 1; |
209 | error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, | 209 | error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, |
210 | IRQF_DISABLED, "floppy", NULL); | 210 | 0, "floppy", NULL); |
211 | return ((error == 0) ? 0 : -1); | 211 | return ((error == 0) ? 0 : -1); |
212 | } else return 0; | 212 | } else return 0; |
213 | } | 213 | } |
diff --git a/arch/m68k/include/asm/uaccess.h b/arch/m68k/include/asm/uaccess.h index 639c731568b0..3fadc4a93d97 100644 --- a/arch/m68k/include/asm/uaccess.h +++ b/arch/m68k/include/asm/uaccess.h | |||
@@ -3,3 +3,10 @@ | |||
3 | #else | 3 | #else |
4 | #include <asm/uaccess_mm.h> | 4 | #include <asm/uaccess_mm.h> |
5 | #endif | 5 | #endif |
6 | |||
7 | #ifdef CONFIG_CPU_HAS_NO_UNALIGNED | ||
8 | #include <asm-generic/uaccess-unaligned.h> | ||
9 | #else | ||
10 | #define __get_user_unaligned(x, ptr) __get_user((x), (ptr)) | ||
11 | #define __put_user_unaligned(x, ptr) __put_user((x), (ptr)) | ||
12 | #endif | ||