mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 22:41:25 +00:00
82706b8f7b
CONFIG_SUPERH32 is currently trickling into userspace unistd.h. Attached patch uses __SH5__ define in userspace. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
14 lines
201 B
C
14 lines
201 B
C
#ifdef __KERNEL__
|
|
# ifdef CONFIG_SUPERH32
|
|
# include "unistd_32.h"
|
|
# else
|
|
# include "unistd_64.h"
|
|
# endif
|
|
#else
|
|
# ifdef __SH5__
|
|
# include "unistd_64.h"
|
|
# else
|
|
# include "unistd_32.h"
|
|
# endif
|
|
#endif
|