irq.h (1e35f29c6b2eba72521d6f3c38f9c86f331cfd0a) | irq.h (ed1cd6deb013a11959d17a94e35ce159197632da) |
---|---|
1#ifdef __KERNEL__ 2#ifndef _ASM_POWERPC_IRQ_H 3#define _ASM_POWERPC_IRQ_H 4 5/* 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 37 unchanged lines hidden (view full) --- 46#if defined(CONFIG_BOOKE) || defined(CONFIG_40x) 47/* 48 * Per-cpu stacks for handling critical, debug and machine check 49 * level interrupts. 50 */ 51extern struct thread_info *critirq_ctx[NR_CPUS]; 52extern struct thread_info *dbgirq_ctx[NR_CPUS]; 53extern struct thread_info *mcheckirq_ctx[NR_CPUS]; | 1#ifdef __KERNEL__ 2#ifndef _ASM_POWERPC_IRQ_H 3#define _ASM_POWERPC_IRQ_H 4 5/* 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 37 unchanged lines hidden (view full) --- 46#if defined(CONFIG_BOOKE) || defined(CONFIG_40x) 47/* 48 * Per-cpu stacks for handling critical, debug and machine check 49 * level interrupts. 50 */ 51extern struct thread_info *critirq_ctx[NR_CPUS]; 52extern struct thread_info *dbgirq_ctx[NR_CPUS]; 53extern struct thread_info *mcheckirq_ctx[NR_CPUS]; |
54extern void exc_lvl_ctx_init(void); 55#else 56#define exc_lvl_ctx_init() | |
57#endif 58 59/* 60 * Per-cpu stacks for handling hard and soft interrupts. 61 */ 62extern struct thread_info *hardirq_ctx[NR_CPUS]; 63extern struct thread_info *softirq_ctx[NR_CPUS]; 64 | 54#endif 55 56/* 57 * Per-cpu stacks for handling hard and soft interrupts. 58 */ 59extern struct thread_info *hardirq_ctx[NR_CPUS]; 60extern struct thread_info *softirq_ctx[NR_CPUS]; 61 |
65extern void irq_ctx_init(void); | |
66void call_do_softirq(void *sp); 67void call_do_irq(struct pt_regs *regs, void *sp); 68extern void do_IRQ(struct pt_regs *regs); 69extern void __init init_IRQ(void); 70extern void __do_irq(struct pt_regs *regs); 71 72int irq_choose_cpu(const struct cpumask *mask); 73 74#endif /* _ASM_IRQ_H */ 75#endif /* __KERNEL__ */ | 62void call_do_softirq(void *sp); 63void call_do_irq(struct pt_regs *regs, void *sp); 64extern void do_IRQ(struct pt_regs *regs); 65extern void __init init_IRQ(void); 66extern void __do_irq(struct pt_regs *regs); 67 68int irq_choose_cpu(const struct cpumask *mask); 69 70#endif /* _ASM_IRQ_H */ 71#endif /* __KERNEL__ */ |