[PA-RISC] Fix sys32_sysctl
commit17cca07237617a2d712eb44cffd8720055e61291
authorMatthew Wilcox <matthew@wil.cx>
Wed, 4 Oct 2006 19:16:10 +0000 (4 13:16 -0600)
committerMatthew Wilcox <willy@hera.kernel.org>
Thu, 5 Oct 2006 01:48:17 +0000 (5 01:48 +0000)
treecd0b35fef694bab9c76b3f2336561adfadcddd35
parentee9f4b5d95d03d1546f0d06cbe384bd4ab97bcba
[PA-RISC] Fix sys32_sysctl

When CONFIG_SYSCTL_SYSCALL isn't defined, do_sysctl doesn't exist and
we fail to link.  Fix with an ifdef, the same way sparc64 did.
Also add some minor changes to be more like sparc64.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
arch/parisc/kernel/sys_parisc32.c