diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
| commit | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (patch) | |
| tree | 2624a44924c625c367f3cebf937853b9da2de282 /include/asm-i386 | |
| parent | 9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff) | |
| parent | 29454dde27d8e340bb1987bad9aa504af7081eba (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'include/asm-i386')
| -rw-r--r-- | include/asm-i386/alternative.h | 8 | ||||
| -rw-r--r-- | include/asm-i386/floppy.h | 8 | ||||
| -rw-r--r-- | include/asm-i386/hw_irq.h | 10 | ||||
| -rw-r--r-- | include/asm-i386/mach-visws/setup_arch.h | 3 | ||||
| -rw-r--r-- | include/asm-i386/signal.h | 2 | ||||
| -rw-r--r-- | include/asm-i386/socket.h | 1 |
6 files changed, 16 insertions, 16 deletions
diff --git a/include/asm-i386/alternative.h b/include/asm-i386/alternative.h index c61bd1a17f37..96adbabec740 100644 --- a/include/asm-i386/alternative.h +++ b/include/asm-i386/alternative.h | |||
| @@ -19,11 +19,19 @@ struct alt_instr { | |||
| 19 | extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end); | 19 | extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end); |
| 20 | 20 | ||
| 21 | struct module; | 21 | struct module; |
| 22 | #ifdef CONFIG_SMP | ||
| 22 | extern void alternatives_smp_module_add(struct module *mod, char *name, | 23 | extern void alternatives_smp_module_add(struct module *mod, char *name, |
| 23 | void *locks, void *locks_end, | 24 | void *locks, void *locks_end, |
| 24 | void *text, void *text_end); | 25 | void *text, void *text_end); |
| 25 | extern void alternatives_smp_module_del(struct module *mod); | 26 | extern void alternatives_smp_module_del(struct module *mod); |
| 26 | extern void alternatives_smp_switch(int smp); | 27 | extern void alternatives_smp_switch(int smp); |
| 28 | #else | ||
| 29 | static inline void alternatives_smp_module_add(struct module *mod, char *name, | ||
| 30 | void *locks, void *locks_end, | ||
| 31 | void *text, void *text_end) {} | ||
| 32 | static inline void alternatives_smp_module_del(struct module *mod) {} | ||
| 33 | static inline void alternatives_smp_switch(int smp) {} | ||
| 34 | #endif | ||
| 27 | 35 | ||
| 28 | #endif | 36 | #endif |
| 29 | 37 | ||
diff --git a/include/asm-i386/floppy.h b/include/asm-i386/floppy.h index 9cb2793eb211..359ead60b718 100644 --- a/include/asm-i386/floppy.h +++ b/include/asm-i386/floppy.h | |||
| @@ -144,11 +144,11 @@ static int vdma_get_dma_residue(unsigned int dummy) | |||
| 144 | static int fd_request_irq(void) | 144 | static int fd_request_irq(void) |
| 145 | { | 145 | { |
| 146 | if(can_use_virtual_dma) | 146 | if(can_use_virtual_dma) |
| 147 | return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT, | 147 | return request_irq(FLOPPY_IRQ, floppy_hardint, |
| 148 | "floppy", NULL); | 148 | IRQF_DISABLED, "floppy", NULL); |
| 149 | else | 149 | else |
| 150 | return request_irq(FLOPPY_IRQ, floppy_interrupt, SA_INTERRUPT, | 150 | return request_irq(FLOPPY_IRQ, floppy_interrupt, |
| 151 | "floppy", NULL); | 151 | IRQF_DISABLED, "floppy", NULL); |
| 152 | 152 | ||
| 153 | } | 153 | } |
| 154 | 154 | ||
diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h index a4c0a5a9ffd8..87e5a351d881 100644 --- a/include/asm-i386/hw_irq.h +++ b/include/asm-i386/hw_irq.h | |||
| @@ -69,14 +69,4 @@ extern atomic_t irq_mis_count; | |||
| 69 | 69 | ||
| 70 | #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) | 70 | #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) |
| 71 | 71 | ||
| 72 | #if defined(CONFIG_X86_IO_APIC) | ||
| 73 | static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) | ||
| 74 | { | ||
| 75 | if (IO_APIC_IRQ(i)) | ||
| 76 | send_IPI_self(IO_APIC_VECTOR(i)); | ||
| 77 | } | ||
| 78 | #else | ||
| 79 | static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {} | ||
| 80 | #endif | ||
| 81 | |||
| 82 | #endif /* _ASM_HW_IRQ_H */ | 72 | #endif /* _ASM_HW_IRQ_H */ |
diff --git a/include/asm-i386/mach-visws/setup_arch.h b/include/asm-i386/mach-visws/setup_arch.h index b92d6d9a4d3c..33f700ef6831 100644 --- a/include/asm-i386/mach-visws/setup_arch.h +++ b/include/asm-i386/mach-visws/setup_arch.h | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | /* Hook to call BIOS initialisation function */ | 1 | /* Hook to call BIOS initialisation function */ |
| 2 | 2 | ||
| 3 | extern unsigned long sgivwfb_mem_phys; | ||
| 4 | extern unsigned long sgivwfb_mem_size; | ||
| 5 | |||
| 3 | /* no action for visws */ | 6 | /* no action for visws */ |
| 4 | 7 | ||
| 5 | #define ARCH_SETUP | 8 | #define ARCH_SETUP |
diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h index 026fd231488d..3824a502351f 100644 --- a/include/asm-i386/signal.h +++ b/include/asm-i386/signal.h | |||
| @@ -77,7 +77,6 @@ typedef unsigned long sigset_t; | |||
| 77 | * SA_FLAGS values: | 77 | * SA_FLAGS values: |
| 78 | * | 78 | * |
| 79 | * SA_ONSTACK indicates that a registered stack_t will be used. | 79 | * SA_ONSTACK indicates that a registered stack_t will be used. |
| 80 | * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the | ||
| 81 | * SA_RESTART flag to get restarting signals (which were the default long ago) | 80 | * SA_RESTART flag to get restarting signals (which were the default long ago) |
| 82 | * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. | 81 | * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. |
| 83 | * SA_RESETHAND clears the handler when the signal is delivered. | 82 | * SA_RESETHAND clears the handler when the signal is delivered. |
| @@ -97,7 +96,6 @@ typedef unsigned long sigset_t; | |||
| 97 | 96 | ||
| 98 | #define SA_NOMASK SA_NODEFER | 97 | #define SA_NOMASK SA_NODEFER |
| 99 | #define SA_ONESHOT SA_RESETHAND | 98 | #define SA_ONESHOT SA_RESETHAND |
| 100 | #define SA_INTERRUPT 0x20000000 /* dummy -- ignored */ | ||
| 101 | 99 | ||
| 102 | #define SA_RESTORER 0x04000000 | 100 | #define SA_RESTORER 0x04000000 |
| 103 | 101 | ||
diff --git a/include/asm-i386/socket.h b/include/asm-i386/socket.h index 802ae76195b7..5755d57c4e95 100644 --- a/include/asm-i386/socket.h +++ b/include/asm-i386/socket.h | |||
| @@ -48,5 +48,6 @@ | |||
| 48 | #define SO_ACCEPTCONN 30 | 48 | #define SO_ACCEPTCONN 30 |
| 49 | 49 | ||
| 50 | #define SO_PEERSEC 31 | 50 | #define SO_PEERSEC 31 |
| 51 | #define SO_PASSSEC 34 | ||
| 51 | 52 | ||
| 52 | #endif /* _ASM_SOCKET_H */ | 53 | #endif /* _ASM_SOCKET_H */ |
