]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] x86: sys_ioperm() prototype cleanup
authorAdrian Bunk <bunk@stusta.de>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
- there's no reason for duplicating the prototype from
  include/linux/syscalls.h in include/asm-x86_64/unistd.h
- every file should #include the headers containing the prototypes for
  it's global functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/ioport.c
arch/x86_64/kernel/ioport.c
include/asm-x86_64/unistd.h

index 498e8bc197d5c81cc356d917111b044ffe42393f..1b4530e6cd82f49f10bfa08b44049c30a15f573c 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/stddef.h>
 #include <linux/slab.h>
 #include <linux/thread_info.h>
+#include <linux/syscalls.h>
 
 /* Set EXTENT bits starting at BASE in BITMAP to value TURN_ON. */
 static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value)
index 745b1f0f494ecdaa2dffce605549c127a52df567..387d347b0e07ec4f69c8d1bed894eaf5c9bc8b26 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/stddef.h>
 #include <linux/slab.h>
 #include <linux/thread_info.h>
+#include <linux/syscalls.h>
 
 /* Set EXTENT bits starting at BASE in BITMAP to value TURN_ON. */
 static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value)
index c5f596e71faa71f9cf03d127119f5599653fe11e..576b29732d3cef19a0c1d7c9471f70dd831d1229 100644 (file)
@@ -655,7 +655,6 @@ __SYSCALL(__NR_move_pages, sys_move_pages)
 #include <asm/ptrace.h>
 
 asmlinkage long sys_iopl(unsigned int level, struct pt_regs *regs);
-asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on);
 struct sigaction;
 asmlinkage long sys_rt_sigaction(int sig,
                                const struct sigaction __user *act,