diff options
author | Damien Zammit <damien@zamaudio.com> | 2022-10-25 10:56:01 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-26 00:05:37 +0200 |
commit | 3202d5bb4ae9200eb05858e3bdfae13d6d1ecc18 (patch) | |
tree | f9562d9ab10a225e7ee79f74d67659b497055cdb /linux | |
parent | 26d37ec836b1c0f6e1e3e29610cff962c4e293da (diff) | |
download | gnumach-3202d5bb4ae9200eb05858e3bdfae13d6d1ecc18.tar.gz gnumach-3202d5bb4ae9200eb05858e3bdfae13d6d1ecc18.tar.bz2 gnumach-3202d5bb4ae9200eb05858e3bdfae13d6d1ecc18.zip |
linux drivers: Don't depend on curr_pic_mask for APIC
Message-Id: <20221025105502.222708-7-damien@zamaudio.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/arch/i386/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/dev/arch/i386/kernel/irq.c b/linux/dev/arch/i386/kernel/irq.c index 656c1470..67feea84 100644 --- a/linux/dev/arch/i386/kernel/irq.c +++ b/linux/dev/arch/i386/kernel/irq.c @@ -363,7 +363,7 @@ probe_irq_on (void) for (delay = jiffies + HZ / 10; delay > jiffies;) ; - return (irqs & ~curr_pic_mask); + return (irqs & ~linux_pic_mask); } /* @@ -376,7 +376,7 @@ probe_irq_off (unsigned long irqs) assert (curr_ipl == 0); - irqs &= curr_pic_mask; + irqs &= linux_pic_mask; /* * Disable unnecessary IRQs. |