diff options
author | Al Viro | 2007-07-22 00:29:12 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-07-22 20:44:00 +0200 |
commit | e9ed7e722e3f4cea07cf3c4bfe98c18180a17793 (patch) | |
tree | b1372269f948f5dead789fece8539d7f4de58be0 /include/linux/interrupt.h | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 (diff) | |
download | kernel-qcow2-linux-e9ed7e722e3f4cea07cf3c4bfe98c18180a17793.tar.gz kernel-qcow2-linux-e9ed7e722e3f4cea07cf3c4bfe98c18180a17793.tar.xz kernel-qcow2-linux-e9ed7e722e3f4cea07cf3c4bfe98c18180a17793.zip |
take declarations of enable_irq() et.al. to linux/interrupt.h
Now that the last inlined instances are gone, all that is left to do
is turning disable_irq_nosync on arm26 and m68k from defines to aliases
and we are all set - we can make these externs in linux/interrupt.h
uncoditional and kill remaining instances in asm/irq.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 5323f6275854..0a3c2ebf2008 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -120,11 +120,11 @@ extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id); # define local_irq_enable_in_hardirq() local_irq_enable() #endif -#ifdef CONFIG_GENERIC_HARDIRQS extern void disable_irq_nosync(unsigned int irq); extern void disable_irq(unsigned int irq); extern void enable_irq(unsigned int irq); +#ifdef CONFIG_GENERIC_HARDIRQS /* * Special lockdep variants of irq disabling/enabling. * These should be used for locking constructs that |