|
@@ -23,7 +23,7 @@
|
|
|
/*
|
|
|
* this changes the io permissions bitmap in the current task.
|
|
|
*/
|
|
|
-SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
|
|
|
+long ksys_ioperm(unsigned long from, unsigned long num, int turn_on)
|
|
|
{
|
|
|
struct thread_struct *t = ¤t->thread;
|
|
|
struct tss_struct *tss;
|
|
@@ -96,6 +96,11 @@ SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
|
|
|
+{
|
|
|
+ return ksys_ioperm(from, num, turn_on);
|
|
|
+}
|
|
|
+
|
|
|
/*
|
|
|
* sys_iopl has to be used when you want to access the IO ports
|
|
|
* beyond the 0x3ff range: to get the full 65536 ports bitmapped
|