diff options
author | Hyok S. Choi <hyok.choi@samsung.com> | 2006-04-10 22:53:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:33 -0700 |
commit | 3016b421534e2fa8a5eede1c12a3eba6164822f4 (patch) | |
tree | 136bf93a1c24f6d4ed46ce6c54ddd4ba5d56a8ae /kernel/posix-cpu-timers.c | |
parent | 21a26d49d1ab3163b589bf913dd9176e921eb1d7 (diff) | |
download | lwn-3016b421534e2fa8a5eede1c12a3eba6164822f4.tar.gz lwn-3016b421534e2fa8a5eede1c12a3eba6164822f4.zip |
[PATCH] frv: define MMU mode specific syscalls as 'cond_syscall' and clean up unneeded macros
For some architectures, a few syscalls are not linked in noMMU mode. In
that case, the MMU depending syscalls are needed to be defined as
'cond_syscall'. For example, ARM architecture selectively links sys_mlock
by the mode configuration.
In case of FRV, it has been managed by #ifdef CONFIG_MMU macro in
arch/frv/kernel/entry.S. However these conditional macros are just
duplicates if they were defined as cond_syscall. Compilation test is done
with FRV toolchains for both of MMU and noMMU mode.
Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions