diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-07-10 13:45:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 22:24:23 +0200 |
commit | 8ae43ff8aa60f81f5d82a4911d704ce8902d11fb (patch) | |
tree | 6aced5cef586796d00e939bcac8c2dcbd3efceaf /arch/um/kernel/irq.c | |
parent | [PATCH] uml: ifdef a mode-specific function (diff) | |
download | linux-8ae43ff8aa60f81f5d82a4911d704ce8902d11fb.tar.xz linux-8ae43ff8aa60f81f5d82a4911d704ce8902d11fb.zip |
[PATCH] uml: mark forward_interrupts as being mode-specific
Mark forward_interrupts as being tt-mode only.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel/irq.c')
-rw-r--r-- | arch/um/kernel/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index bfd0bdc8cd40..519cdb0a7708 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c @@ -350,6 +350,7 @@ int deactivate_all_fds(void) return 0; } +#ifdef CONFIG_MODE_TT void forward_interrupts(int pid) { struct irq_fd *irq; @@ -371,6 +372,7 @@ void forward_interrupts(int pid) } irq_unlock(flags); } +#endif /* * do_IRQ handles all normal device IRQ's (the special |