Do not (accidentally?) truncate addresses when setting them in the
handler array.

Signed-off-by: Denis Orlov <[email protected]>
---
 arch/mips/boot/main_entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 2c18bc81c3..d061a0e987 100644
--- a/arch/mips/boot/main_entry.c
+++ b/arch/mips/boot/main_entry.c
@@ -22,7 +22,7 @@ unsigned long exception_handlers[32];
 
 static void set_except_vector(int n, void *addr)
 {
-       unsigned handler = (unsigned long) addr;
+       unsigned long handler = (unsigned long) addr;
 
        exception_handlers[n] = handler;
 }
-- 
2.41.0


Reply via email to