|
@@ -373,8 +373,8 @@ void __noreturn die(const char * str, const struct pt_regs * regs)
|
|
|
do_exit(SIGSEGV);
|
|
|
}
|
|
|
|
|
|
-extern const struct exception_table_entry __start___dbe_table[];
|
|
|
-extern const struct exception_table_entry __stop___dbe_table[];
|
|
|
+extern struct exception_table_entry __start___dbe_table[];
|
|
|
+extern struct exception_table_entry __stop___dbe_table[];
|
|
|
|
|
|
__asm__(
|
|
|
" .section __dbe_table, \"a\"\n"
|
|
@@ -1682,4 +1682,6 @@ void __init trap_init(void)
|
|
|
|
|
|
flush_icache_range(ebase, ebase + 0x400);
|
|
|
flush_tlb_handlers();
|
|
|
+
|
|
|
+ sort_extable(__start___dbe_table, __stop___dbe_table);
|
|
|
}
|