diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 01:50:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 01:50:54 -0400 |
commit | 3b76eefe0f970c2e19f165d4a1650abc523d10bc (patch) | |
tree | 1987bc1b2b61ea70170094e3cb1204f5b0a0401e /arch/m68k/include/asm/hardirq.h | |
parent | 91d44d99992ff2587104df5760bfffbb3564b3c2 (diff) | |
parent | 8c9f08f9de38c9af3a946faf0cccd7fc46978443 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68k: Revive reporting of spurious interrupts
m68knommu: Move forward declaration of do_IRQ() from machdep.h to irq.h
m68k: fix some atomic operation asm address modes for ColdFire
m68k: use CPU_HAS_NO_BITFIELDS for signal functions
m68k: merge and clean up delay.h files
m68knommu: correctly use trap_init
m68knommu: merge ColdFire 5206 and 5206e platform code
m68k: merge mmu and non-mmu bitops.h
m68k: merge MMU and non MMU versions of system.h
m68k: merge MMU and non-MMU versions of asm/hardirq.h
m68k: merge the non-mmu and mmu versions of module.c
m68knommu: Fix printk() format in free_initrd_mem()
m68knommu: Make empty_zero_page "void *", like on m68k
Diffstat (limited to 'arch/m68k/include/asm/hardirq.h')
-rw-r--r-- | arch/m68k/include/asm/hardirq.h | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/hardirq.h b/arch/m68k/include/asm/hardirq.h index 56d0d5db231c..870e5347155b 100644 --- a/arch/m68k/include/asm/hardirq.h +++ b/arch/m68k/include/asm/hardirq.h | |||
@@ -1,5 +1,34 @@ | |||
1 | #ifdef __uClinux__ | 1 | #ifndef __M68K_HARDIRQ_H |
2 | #include "hardirq_no.h" | 2 | #define __M68K_HARDIRQ_H |
3 | |||
4 | #include <linux/threads.h> | ||
5 | #include <linux/cache.h> | ||
6 | #include <asm/irq.h> | ||
7 | |||
8 | #define HARDIRQ_BITS 8 | ||
9 | |||
10 | /* | ||
11 | * The hardirq mask has to be large enough to have | ||
12 | * space for potentially all IRQ sources in the system | ||
13 | * nesting on a single CPU: | ||
14 | */ | ||
15 | #if (1 << HARDIRQ_BITS) < NR_IRQS | ||
16 | # error HARDIRQ_BITS is too low! | ||
17 | #endif | ||
18 | |||
19 | #ifdef CONFIG_MMU | ||
20 | |||
21 | /* entry.S is sensitive to the offsets of these fields */ | ||
22 | typedef struct { | ||
23 | unsigned int __softirq_pending; | ||
24 | } ____cacheline_aligned irq_cpustat_t; | ||
25 | |||
26 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
27 | |||
3 | #else | 28 | #else |
4 | #include "hardirq_mm.h" | 29 | |
30 | #include <asm-generic/hardirq.h> | ||
31 | |||
32 | #endif /* !CONFIG_MMU */ | ||
33 | |||
5 | #endif | 34 | #endif |