Skip to contentSkip to conversation

sched/core: Remove mmdrop() definition

PATCH Applied Sebastian Andrzej Siewior 2 participants 2 messages Jun 18, 2020 – Jun 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/core: Remove mmdrop() definition

Commit
bf2c59fce4074 ("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.

---
 include/linux/sched/mm.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/sched/mm.h +0 -2
index 480a4d1b7dd8d..a98604ea76f10 100644
@@ -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
Signature · 1 line
2.27.0
#1 lore raw
The following commit has been merged into the sched/core branch of tip:

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     01e377c539ca52a6c753d0fdbe93b3b8fcd66a1c
Gitweb:        https://git.kernel.org/tip/01e377c539ca52a6c753d0fdbe93b3b8fcd66a1c
Author:        Sebastian Andrzej Siewior <[email protected]>
AuthorDate:    Thu, 18 Jun 2020 21:08:10 +02:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Thu, 25 Jun 2020 13:45:45 +02:00

sched/core: Remove mmdrop() definition

Commit
bf2c59fce4074 ("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.

---
 include/linux/sched/mm.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/sched/mm.h +0 -2
index 480a4d1..a98604e 100644
@@ -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