Browse Source

move sh __unmapself code from arch/sh/src to main src tree

Rich Felker 9 years ago
parent
commit
230bfe1a7d
2 changed files with 1 additions and 1 deletions
  1. 1 1
      src/thread/sh/__unmapself.c
  2. 0 0
      src/thread/sh/__unmapself_mmu.s

+ 1 - 1
arch/sh/src/__unmapself.c → src/thread/sh/__unmapself.c

@@ -10,7 +10,7 @@ void __unmapself_sh_nommu(void *, size_t);
 #define CRTJMP(pc,sp) __asm__ __volatile__( \
 	"mov.l @%0+,r0 ; mov.l @%0,r12 ; jmp @r0 ; mov %1,r15" \
 	: : "r"(pc), "r"(sp) : "r0", "memory" )
-#include "../../../src/thread/__unmapself.c"
+#include "../__unmapself.c"
 #undef __unmapself
 extern __attribute__((__visibility__("hidden"))) unsigned __sh_nommu;
 #else

+ 0 - 0
src/thread/sh/__unmapself.s → src/thread/sh/__unmapself_mmu.s