Skip to content

Commit 01e377c

Browse files
Sebastian Andrzej SiewiorPeter Zijlstra
authored andcommitted
sched/core: Remove mmdrop() definition
Commit bf2c59f ("sched/core: Fix illegal RCU from offline CPUs") introduced a definition for mmdrop() but a a few lines above there is already mmdrop() defined as static inline. Remove the newly introduced mmdrop() definition. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 423d02e commit 01e377c

File tree

1 file changed

+0
-2
lines changed
  • include/linux/sched

1 file changed

+0
-2
lines changed

include/linux/sched/mm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ static inline void mmdrop(struct mm_struct *mm)
4949
__mmdrop(mm);
5050
}
5151

52-
void mmdrop(struct mm_struct *mm);
53-
5452
/*
5553
* This has to be called after a get_task_mm()/mmget_not_zero()
5654
* followed by taking the mmap_lock for writing before modifying the

0 commit comments

Comments
 (0)