diff options
| -rw-r--r-- | arch/alpha/kernel/irq_alpha.c | 2 | ||||
| -rw-r--r-- | arch/alpha/kernel/traps.c | 2 | ||||
| -rw-r--r-- | drivers/acpi/pci_irq.c | 2 | ||||
| -rw-r--r-- | fs/fat/cache.c | 2 | ||||
| -rw-r--r-- | fs/fat/inode.c | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c index e6ded33c6e22..9d34ce26e5ef 100644 --- a/arch/alpha/kernel/irq_alpha.c +++ b/arch/alpha/kernel/irq_alpha.c | |||
| @@ -55,6 +55,8 @@ do_entInt(unsigned long type, unsigned long vector, | |||
| 55 | #ifdef CONFIG_SMP | 55 | #ifdef CONFIG_SMP |
| 56 | { | 56 | { |
| 57 | long cpu; | 57 | long cpu; |
| 58 | |||
| 59 | local_irq_disable(); | ||
| 58 | smp_percpu_timer_interrupt(regs); | 60 | smp_percpu_timer_interrupt(regs); |
| 59 | cpu = smp_processor_id(); | 61 | cpu = smp_processor_id(); |
| 60 | if (cpu != boot_cpuid) { | 62 | if (cpu != boot_cpuid) { |
diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index fd7bd17cc960..6f509a644bdd 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c | |||
| @@ -240,7 +240,7 @@ do_entIF(unsigned long type, struct pt_regs *regs) | |||
| 240 | siginfo_t info; | 240 | siginfo_t info; |
| 241 | int signo, code; | 241 | int signo, code; |
| 242 | 242 | ||
| 243 | if (regs->ps == 0) { | 243 | if ((regs->ps & ~IPL_MAX) == 0) { |
| 244 | if (type == 1) { | 244 | if (type == 1) { |
| 245 | const unsigned int *data | 245 | const unsigned int *data |
| 246 | = (const unsigned int *) regs->pc; | 246 | = (const unsigned int *) regs->pc; |
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index 8dbf802ee7f8..d1f42b972821 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c | |||
| @@ -433,7 +433,7 @@ acpi_pci_irq_enable ( | |||
| 433 | printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI", | 433 | printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI", |
| 434 | pci_name(dev), ('A' + pin)); | 434 | pci_name(dev), ('A' + pin)); |
| 435 | /* Interrupt Line values above 0xF are forbidden */ | 435 | /* Interrupt Line values above 0xF are forbidden */ |
| 436 | if (dev->irq >= 0 && (dev->irq <= 0xF)) { | 436 | if (dev->irq > 0 && (dev->irq <= 0xF)) { |
| 437 | printk(" - using IRQ %d\n", dev->irq); | 437 | printk(" - using IRQ %d\n", dev->irq); |
| 438 | acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW); | 438 | acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW); |
| 439 | return_VALUE(0); | 439 | return_VALUE(0); |
diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 7c52e465a619..77c24fcf712a 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c | |||
| @@ -56,7 +56,7 @@ int __init fat_cache_init(void) | |||
| 56 | return 0; | 56 | return 0; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | void __exit fat_cache_destroy(void) | 59 | void fat_cache_destroy(void) |
| 60 | { | 60 | { |
| 61 | if (kmem_cache_destroy(fat_cache_cachep)) | 61 | if (kmem_cache_destroy(fat_cache_cachep)) |
| 62 | printk(KERN_INFO "fat_cache: not all structures were freed\n"); | 62 | printk(KERN_INFO "fat_cache: not all structures were freed\n"); |
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 3e31c4a736f1..96ae85b67eba 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -1327,7 +1327,7 @@ out_fail: | |||
| 1327 | EXPORT_SYMBOL(fat_fill_super); | 1327 | EXPORT_SYMBOL(fat_fill_super); |
| 1328 | 1328 | ||
| 1329 | int __init fat_cache_init(void); | 1329 | int __init fat_cache_init(void); |
| 1330 | void __exit fat_cache_destroy(void); | 1330 | void fat_cache_destroy(void); |
| 1331 | 1331 | ||
| 1332 | static int __init init_fat_fs(void) | 1332 | static int __init init_fat_fs(void) |
| 1333 | { | 1333 | { |
