diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-24 16:12:24 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-24 16:12:24 -0800 |
| commit | 0bab064232c278cb484b6aaa790b9c626ab6524b (patch) | |
| tree | 3c997ffac693fa0e1f157273fad383b6a0a752b2 /include/linux/sysctl.h | |
| parent | 091704ef34f2e6aed8436877aeb434125b002c18 (diff) | |
[PATCH] add syscalls.h
From: "Randy.Dunlap" <rddunlap@osdl.org>
Add syscalls.h, which contains prototypes for the kernel's system calls.
Replace open-coded declarations all over the place. This patch found a
couple of prior bugs. It appears to be more important with -mregparm=3 as we
discover more asmlinkage mismatches.
Some syscalls have arch-dependent arguments, so their prototypes are in the
arch-specific unistd.h. Maybe it should have been asm/syscalls.h, but there
were already arch-specific syscall prototypes in asm/unistd.h...
Tested on x86, ia64, x86_64, ppc64, s390 and sparc64. May cause
trivial-to-fix build breakage on other architectures.
Diffstat (limited to 'include/linux/sysctl.h')
| -rw-r--r-- | include/linux/sysctl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 9afd45c3670a..53c33ccddddc 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -734,7 +734,6 @@ enum #ifdef __KERNEL__ -extern asmlinkage long sys_sysctl(struct __sysctl_args __user *); extern void sysctl_init(void); typedef struct ctl_table ctl_table; |
