f729ab68dd
* syscall.c (shuffle_scno): Move the declaration... * defs.h (shuffle_scno): ...here. Remove static qualifier. * linux/aarch64/shuffle_scno.c (shuffle_scno): Remove static qualifier. * linux/arm/shuffle_scno.c: Likewise. * linux/shuffle_scno.c: Likewise. * linux/x32/shuffle_scno.c: Likewise. * linux/x86_64/shuffle_scno.c: Likewise.
13 lines
224 B
C
13 lines
224 B
C
#define shuffle_scno arm_shuffle_scno
|
|
#include "../arm/shuffle_scno.c"
|
|
#undef shuffle_scno
|
|
|
|
kernel_ulong_t
|
|
shuffle_scno(kernel_ulong_t scno)
|
|
{
|
|
if (current_personality == 1)
|
|
return arm_shuffle_scno(scno);
|
|
|
|
return scno;
|
|
}
|