1 #include "pthread_impl.h"
3 void __unmapself_sh_mmu(void *, size_t);
4 void __unmapself_sh_nommu(void *, size_t);
6 #if !defined(__SH3__) && !defined(__SH4__)
7 #define __unmapself __unmapself_sh_nommu
8 #include "../../../src/thread/__unmapself.c"
10 extern __attribute__((__visibility__("hidden"))) unsigned __sh_nommu;
15 void __unmapself(void *base, size_t size)
17 if (__sh_nommu) __unmapself_sh_nommu(base, size);
18 else __unmapself_sh_mmu(base, size);