summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMathieu Malaterre2018-02-25 18:22:35 +0100
committerMichael Ellerman2018-03-13 05:50:40 +0100
commitbf7fb32dd5fc8a6bd25aaab05d3acddd1223ba03 (patch)
treea29bd015f8d1743d9a8dfa106125d3e35e3aa454 /arch/powerpc/include
parentpowerpc: Add missing prototypes for hw_breakpoint_handler() & arch_unregister... (diff)
downloadkernel-qcow2-linux-bf7fb32dd5fc8a6bd25aaab05d3acddd1223ba03.tar.gz
kernel-qcow2-linux-bf7fb32dd5fc8a6bd25aaab05d3acddd1223ba03.tar.xz
kernel-qcow2-linux-bf7fb32dd5fc8a6bd25aaab05d3acddd1223ba03.zip
powerpc: Add missing prototypes for ppc_select() & ppc_fadvise64_64()
Add missing prototypes for ppc_select() & ppc_fadvise64_64() to header asm-prototypes.h. Fix the following warnings (treated as errors in W=1) arch/powerpc/kernel/syscalls.c:87:1: error: no previous prototype for ‘ppc_select’ arch/powerpc/kernel/syscalls.c:119:6: error: no previous prototype for ‘ppc_fadvise64_64’ Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/asm-prototypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h
index 7c23d9ead694..4d8b89b46018 100644
--- a/arch/powerpc/include/asm/asm-prototypes.h
+++ b/arch/powerpc/include/asm/asm-prototypes.h
@@ -93,7 +93,11 @@ 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);
+int
+ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __user *tvp);
#endif
+long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
+ u32 len_high, u32 len_low);
long sys_switch_endian(void);
notrace unsigned int __check_irq_replay(void);
void notrace restore_interrupts(void);