Skip to content

Commit

Permalink
sched/core: Remove mmdrop() definition
Browse files Browse the repository at this point in the history
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 <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200618190810.790211-1-bigeasy@linutronix.de
  • Loading branch information
Sebastian Andrzej Siewior authored and Peter Zijlstra committed Jun 25, 2020
1 parent 423d02e commit 01e377c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/sched/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ static inline void mmdrop(struct mm_struct *mm)
__mmdrop(mm);
}

void mmdrop(struct mm_struct *mm);

/*
* This has to be called after a get_task_mm()/mmget_not_zero()
* followed by taking the mmap_lock for writing before modifying the
Expand Down

0 comments on commit 01e377c

Please sign in to comment.