Skip to content

Commit 7c2178c

Browse files
Dominik BrodowskiIngo Molnar
authored andcommitted
x86/syscalls: Use proper syscall definition for sys_ioperm()
Using SYSCALL_DEFINEx() is recommended, so use it also here. Signed-off-by: Dominik Brodowski <[email protected]> Acked-by: Linus Torvalds <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent a41e2ab commit 7c2178c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/ioport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/*
2424
* this changes the io permissions bitmap in the current task.
2525
*/
26-
asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on)
26+
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
2727
{
2828
struct thread_struct *t = &current->thread;
2929
struct tss_struct *tss;

0 commit comments

Comments
 (0)