]> granicus.if.org Git - musl/commitdiff
move sh __unmapself code from arch/sh/src to main src tree
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 03:46:00 +0000 (03:46 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 03:46:00 +0000 (03:46 +0000)
src/thread/sh/__unmapself.c [moved from arch/sh/src/__unmapself.c with 93% similarity]
src/thread/sh/__unmapself_mmu.s [moved from src/thread/sh/__unmapself.s with 100% similarity]

similarity index 93%
rename from arch/sh/src/__unmapself.c
rename to src/thread/sh/__unmapself.c
index b804aeff7de6a4f16d62754135baa7f69a7ae5e3..d4fb8be5982ae450e07be7571caee3087947c1fc 100644 (file)
@@ -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