File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,11 @@ static inline int seccomp_mode(struct seccomp *s)
58
58
59
59
struct seccomp { };
60
60
struct seccomp_filter { };
61
+ struct seccomp_data ;
61
62
62
63
#ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER
63
64
static 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 ; }
65
66
#else
66
67
static inline void secure_computing_strict (int this_syscall ) { return ; }
67
68
#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)
256
256
exit_to_user_mode ();
257
257
}
258
258
259
- irqentry_state_t noinstr irqentry_enter (struct pt_regs * regs )
259
+ noinstr irqentry_state_t irqentry_enter (struct pt_regs * regs )
260
260
{
261
261
irqentry_state_t ret = {
262
262
.exit_rcu = false,
@@ -333,7 +333,7 @@ void irqentry_exit_cond_resched(void)
333
333
}
334
334
}
335
335
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 )
337
337
{
338
338
lockdep_assert_irqs_disabled ();
339
339
You can’t perform that action at this time.
0 commit comments