diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
commit | 9efe21cb82b5dbe3b0b2ae4de4eccc64ecb94e95 (patch) | |
tree | 7ff8833745d2f268f897f6fa4a27263b4a572245 /include/linux/interrupt.h | |
parent | de18836e447c2dc30120c0919b8db8ddc0401cc4 (diff) | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) |
Merge branch 'linus' into irq/threaded
Conflicts:
include/linux/irq.h
kernel/irq/handle.c
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 143192f48bf3..675727fb4b47 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -182,6 +182,15 @@ extern void disable_irq_nosync(unsigned int irq); | |||
182 | extern void disable_irq(unsigned int irq); | 182 | extern void disable_irq(unsigned int irq); |
183 | extern void enable_irq(unsigned int irq); | 183 | extern void enable_irq(unsigned int irq); |
184 | 184 | ||
185 | /* The following three functions are for the core kernel use only. */ | ||
186 | extern void suspend_device_irqs(void); | ||
187 | extern void resume_device_irqs(void); | ||
188 | #ifdef CONFIG_PM_SLEEP | ||
189 | extern int check_wakeup_irqs(void); | ||
190 | #else | ||
191 | static inline int check_wakeup_irqs(void) { return 0; } | ||
192 | #endif | ||
193 | |||
185 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) | 194 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) |
186 | 195 | ||
187 | extern cpumask_var_t irq_default_affinity; | 196 | extern cpumask_var_t irq_default_affinity; |
@@ -334,6 +343,11 @@ enum | |||
334 | NR_SOFTIRQS | 343 | NR_SOFTIRQS |
335 | }; | 344 | }; |
336 | 345 | ||
346 | /* map softirq index to softirq name. update 'softirq_to_name' in | ||
347 | * kernel/softirq.c when adding a new softirq. | ||
348 | */ | ||
349 | extern char *softirq_to_name[NR_SOFTIRQS]; | ||
350 | |||
337 | /* softirq mask and active fields moved to irq_cpustat_t in | 351 | /* softirq mask and active fields moved to irq_cpustat_t in |
338 | * asm/hardirq.h to get better cache usage. KAO | 352 | * asm/hardirq.h to get better cache usage. KAO |
339 | */ | 353 | */ |