]> Git Repo - u-boot.git/blobdiff - arch/nios2/cpu/traps.c
common: Move hang() to the same header as panic()
[u-boot.git] / arch / nios2 / cpu / traps.c
index 1c3cc03178c7e3d4eec68ea606fd43b2162820e4..087a05097d9e6ffdbf67ae01f77e728542f14333 100644 (file)
@@ -4,8 +4,9 @@
  * Scott McNutt <[email protected]>
  */
 
-#include <asm/ptrace.h>
 #include <common.h>
+#include <hang.h>
+#include <asm/ptrace.h>
 
 void trap_handler (struct pt_regs *regs)
 {
@@ -21,5 +22,5 @@ void soft_emulation (struct pt_regs *regs)
         */
        printf ("\n\n*** ERROR: unimplemented instruction @ %08x\n",
                        regs->reg[29] - 4);
-       hang ();
+       hang();
 }
This page took 0.023927 seconds and 4 git commands to generate.