Skip to content

Commit d25c8be

Browse files
author
Ingo Molnar
committed
Merge branch 'core/entry' into x86/entry
Pick up generic entry code fixes. Signed-off-by: Ingo Molnar <[email protected]>
2 parents 72c3c0f + 3135f5b commit d25c8be

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/linux/seccomp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ static inline int seccomp_mode(struct seccomp *s)
5858

5959
struct seccomp { };
6060
struct seccomp_filter { };
61+
struct seccomp_data;
6162

6263
#ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER
6364
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; }
6566
#else
6667
static inline void secure_computing_strict(int this_syscall) { return; }
6768
#endif

kernel/entry/common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)