projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a41e2ab
)
x86/syscalls: Use proper syscall definition for sys_ioperm()
author
Dominik Brodowski
<
[email protected]
>
Tue, 6 Mar 2018 21:18:05 +0000
(22:18 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 7 Mar 2018 06:57:30 +0000
(07:57 +0100)
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]
>
arch/x86/kernel/ioport.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/ioport.c
b/arch/x86/kernel/ioport.c
index 2f723301eb58fc5ad0d6796b342446ae2ee0c9e6..38deafebb21b726227fb2a12a7386f49603189fe 100644
(file)
--- a/
arch/x86/kernel/ioport.c
+++ b/
arch/x86/kernel/ioport.c
@@
-23,7
+23,7
@@
/*
* this changes the io permissions bitmap in the current task.
*/
-
asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int
turn_on)
+
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int,
turn_on)
{
struct thread_struct *t = ¤t->thread;
struct tss_struct *tss;