CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2016/12/23 03:29:14

Modified files:
        sys/arch/arm64/dev: ampintc.c 
        sys/arch/arm/cortex: ampintc.c 

Log message:
The code to retrieve the interrupt ID only works if the amount of IRQs
supported by the controller is not too big.  Otherwise the mask will be
wrong and the calculated IRQ as well.  Split the dynamic mask into two
pieces.  First of all use a static mask to remove the bits we don't want
to look at.  Then we use that value to check for spurious or false IRQs.

ok jsg@

Reply via email to