]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] frv: define MMU mode specific syscalls as 'cond_syscall' and clean up unneede...
authorHyok S. Choi <hyok.choi@samsung.com>
Tue, 11 Apr 2006 05:53:06 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:33 +0000 (06:18 -0700)
commit4690e7ab8c757b4f3b3e90db9f3ef16c9448712d
tree136bf93a1c24f6d4ed46ce6c54ddd4ba5d56a8ae
parent98ca98e9c76ca5f4352c33f3e8fd6cca0a3dcc51
[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>
arch/frv/kernel/entry.S
kernel/sys_ni.c