Jelajahi Sumber

Blackfin arch: fix building with CONFIG_DEBUG_DOUBLEFAULT

arch/blackfin/mach-common/entry.S:465: Error: pcrel too far
BFD_RELOC_BFIN_10

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Mike Frysinger 16 tahun lalu
induk
melakukan
33c8691f45
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      arch/blackfin/mach-common/entry.S

+ 3 - 2
arch/blackfin/mach-common/entry.S

@@ -370,9 +370,10 @@ ENTRY(_ex_trap_c)
 ENDPROC(_ex_trap_c)
 
 /* We just realized we got an exception, while we were processing a different
- * exception. This is a unrecoverable event, so crash
+ * exception. This is a unrecoverable event, so crash.
+ * Note: this cannot be ENTRY() as we jump here with "if cc jump" ...
  */
-ENTRY(_double_fault)
+_double_fault:
 	/* Turn caches & protection off, to ensure we don't get any more
 	 * double exceptions
 	 */