On Sun, Apr 01, 2007 at 12:23:45PM -0700, David Miller wrote: > You should hook both of these syscalls up even if the config option > that enables them usually is not, or cannot currently be, enabled. > > The cond_syscall()'s will make sure they always link properly and > provide a -ENOSYS implementation. > > Hooking them up makes it easier to check future missed cases without > us having to add a plethora of ifdefs to the missing syscall checks > for each platform.
I haven't looked at the missing syscall check implementation, but it seems like it's poorly designed if we have to add ifdefs for each arch. Why not allow arches a mechanism to state which syscalls they intentionally don't implement? - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
