From afc5813635c2314e24a0f4f6dc48e806f4b56367 Mon Sep 17 00:00:00 2001 From: Ferdinand Bachmann Date: Sat, 16 Jan 2021 20:44:44 +0100 Subject: [PATCH] exceptions: fix clang warning for msr arg Signed-off-by: Ferdinand Bachmann --- src/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exception.c b/src/exception.c index dc401f9b..f4f74732 100644 --- a/src/exception.c +++ b/src/exception.c @@ -69,7 +69,7 @@ void exc_fiq(u64 *regs) if (timer_ctl == 0x5) { uart_puts(" timer IRQ, masking"); - msr(CNTP_CTL_EL0, 7); + msr(CNTP_CTL_EL0, 7L); } // print_regs(regs);