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:
23a6d8b
)
powerpc: Add missing prototype for sys_debug_setcontext()
author
Mathieu Malaterre
<malat@debian.org>
Sun, 25 Feb 2018 17:22:32 +0000
(18:22 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:38 +0000
(15:50 +1100)
In commit
81e7009ea46c
("powerpc: merge ppc signal.c and ppc64
signal32.c") the function sys_debug_setcontext was added without a
prototype.
Fix compilation warning (treated as error in W=1):
arch/powerpc/kernel/signal_32.c:1227:5: error: no previous prototype for ‘sys_debug_setcontext’
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/asm-prototypes.h
b/arch/powerpc/include/asm/asm-prototypes.h
index 0af1925e30dbc5231091f233c044f7187b3d90f8..7c23d9ead694945962a641921323d149fd662d26 100644
(file)
--- a/
arch/powerpc/include/asm/asm-prototypes.h
+++ b/
arch/powerpc/include/asm/asm-prototypes.h
@@
-89,6
+89,10
@@
int sys_swapcontext(struct ucontext __user *old_ctx,
long sys_swapcontext(struct ucontext __user *old_ctx,
struct ucontext __user *new_ctx,
int ctx_size, int r6, int r7, int r8, struct pt_regs *regs);
+int sys_debug_setcontext(struct ucontext __user *ctx,
+ int ndbg, struct sig_dbg_op __user *dbg,
+ int r6, int r7, int r8,
+ struct pt_regs *regs);
#endif
long sys_switch_endian(void);
notrace unsigned int __check_irq_replay(void);