path: root/arch/arm64/boot
diff options
authorMarc Zyngier <>2013-11-12 17:11:53 +0000
committerCatalin Marinas <>2013-11-25 16:44:04 +0000
commit6468178767c4c7e600fdbf50aaca03f4a8a82ca4 (patch)
treec7a08390c969b4dcdc93faeb0648f58111395b83 /arch/arm64/boot
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
arm64: let the core code deal with preempt_count
Commit f27dde8deef3 (sched: Add NEED_RESCHED to the preempt_count) introduced the use of bit 31 in preempt_count for obscure scheduling purposes. This causes interrupts taken from EL0 to hit the (open coded) BUG when this flag is flipped while handling the interrupt (we compare the values before and after, and kill the kernel if they are different). The fix is to stop messing with the preempt count entirely, as this is already being dealt with in the generic code (irq_enter/irq_exit). Tested on a dual A53 FPGA running cyclictest. Signed-off-by: Marc Zyngier <> Signed-off-by: Catalin Marinas <>
Diffstat (limited to 'arch/arm64/boot')
0 files changed, 0 insertions, 0 deletions