diff options
-rw-r--r-- | arch/i386/kernel/irq.c | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/irq.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/kernel/irq.c b/arch/i386/kernel/irq.c index f3a9c78c4a24..248e922ee13a 100644 --- a/arch/i386/kernel/irq.c +++ b/arch/i386/kernel/irq.c | |||
@@ -42,8 +42,8 @@ union irq_ctx { | |||
42 | u32 stack[THREAD_SIZE/sizeof(u32)]; | 42 | u32 stack[THREAD_SIZE/sizeof(u32)]; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static union irq_ctx *hardirq_ctx[NR_CPUS]; | 45 | static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly; |
46 | static union irq_ctx *softirq_ctx[NR_CPUS]; | 46 | static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | /* | 49 | /* |
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index bfcec4cc70a7..40d4c14fde8f 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -380,8 +380,8 @@ unsigned int real_irq_to_virt_slowpath(unsigned int real_irq) | |||
380 | #endif /* CONFIG_PPC64 */ | 380 | #endif /* CONFIG_PPC64 */ |
381 | 381 | ||
382 | #ifdef CONFIG_IRQSTACKS | 382 | #ifdef CONFIG_IRQSTACKS |
383 | struct thread_info *softirq_ctx[NR_CPUS]; | 383 | struct thread_info *softirq_ctx[NR_CPUS] __read_mostly; |
384 | struct thread_info *hardirq_ctx[NR_CPUS]; | 384 | struct thread_info *hardirq_ctx[NR_CPUS] __read_mostly; |
385 | 385 | ||
386 | void irq_ctx_init(void) | 386 | void irq_ctx_init(void) |
387 | { | 387 | { |