File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,10 +58,11 @@ static inline int seccomp_mode(struct seccomp *s)
5858
5959struct seccomp { };
6060struct seccomp_filter { };
61+ struct seccomp_data ;
6162
6263#ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER
6364static inline int secure_computing (void ) { return 0 ; }
64- static inline int __secure_computing (void ) { return 0 ; }
65+ static inline int __secure_computing (const struct seccomp_data * sd ) { return 0 ; }
6566#else
6667static inline void secure_computing_strict (int this_syscall ) { return ; }
6768#endif
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs)
256256 exit_to_user_mode ();
257257}
258258
259- irqentry_state_t noinstr irqentry_enter (struct pt_regs * regs )
259+ noinstr irqentry_state_t irqentry_enter (struct pt_regs * regs )
260260{
261261 irqentry_state_t ret = {
262262 .exit_rcu = false,
@@ -333,7 +333,7 @@ void irqentry_exit_cond_resched(void)
333333 }
334334}
335335
336- void noinstr irqentry_exit (struct pt_regs * regs , irqentry_state_t state )
336+ noinstr void irqentry_exit (struct pt_regs * regs , irqentry_state_t state )
337337{
338338 lockdep_assert_irqs_disabled ();
339339
You can’t perform that action at this time.
0 commit comments