diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-23 04:46:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 10:34:08 -0800 |
commit | 2a786b452eba900324c29a8fcf5c96d5b1c01000 (patch) | |
tree | 4b19d0c6b9dff736051448bee81ae274088dd701 /kernel/params.c | |
parent | 610142927b5bc149da92b03c7ab08b8b5f205b74 (diff) | |
download | kernel_samsung_espresso10-2a786b452eba900324c29a8fcf5c96d5b1c01000.zip kernel_samsung_espresso10-2a786b452eba900324c29a8fcf5c96d5b1c01000.tar.gz kernel_samsung_espresso10-2a786b452eba900324c29a8fcf5c96d5b1c01000.tar.bz2 |
[PATCH] genirq: Mask irqs when migrating them.
move_native_irqs tries to do the right thing when migrating irqs
by disabling them. However disabling them is a software logical
thing, not a hardware thing. This has always been a little flaky
and after Ingo's latest round of changes it is guaranteed to not
mask the apic.
So this patch fixes move_native_irq to directly call the mask and
unmask chip methods to guarantee that we mask the irq when we
are migrating it. We must do this as it is required by
all code that call into the path.
Since we don't know the masked status when IRQ_DISABLED is
set so we will not be able to restore it. The patch makes the code
just give up and trying again the next time this routing is called.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions