Fix build failure on ppc64 without CONFIG_AUDIT

We shouldn't call audit_syscall_exit() unless it actually exists.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

+2
+2
arch/ppc64/kernel/entry.S
··· 282 bne syscall_exit 283 /* If sigsuspend() returns zero, we are going into a signal handler. We 284 may need to call audit_syscall_exit() to mark the exit from sigsuspend() */ 285 ld r3,PACACURRENT(r13) 286 ld r4,AUDITCONTEXT(r3) 287 cmpdi 0,r4,0 ··· 290 li r4, 2 /* AUDITSC_FAILURE */ 291 li r5,-4 /* It's always -EINTR */ 292 bl .audit_syscall_exit 293 b .ret_from_except 294 295 _GLOBAL(ppc_fork)
··· 282 bne syscall_exit 283 /* If sigsuspend() returns zero, we are going into a signal handler. We 284 may need to call audit_syscall_exit() to mark the exit from sigsuspend() */ 285 + #ifdef CONFIG_AUDIT 286 ld r3,PACACURRENT(r13) 287 ld r4,AUDITCONTEXT(r3) 288 cmpdi 0,r4,0 ··· 289 li r4, 2 /* AUDITSC_FAILURE */ 290 li r5,-4 /* It's always -EINTR */ 291 bl .audit_syscall_exit 292 + #endif 293 b .ret_from_except 294 295 _GLOBAL(ppc_fork)