m68knommu: correctly use trap_init
Currently trap_init() is an empty function for m68knommu. Instead the vectors are being setup as part of the IRQ initialization. This is inconsistent with m68k and other architectures. Change the local init_vectors() to be trap_init(), and init the vectors at the correct time during startup. This will help merge of m68k and m68knommu trap code in the furture. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
@@ -22,7 +22,6 @@ extern e_vector vectors[];
|
||||
asmlinkage void auto_inthandler(void);
|
||||
asmlinkage void user_inthandler(void);
|
||||
asmlinkage void bad_inthandler(void);
|
||||
extern void init_vectors(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user