summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-06-18 21:08:10 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-25 13:45:45 +0200
commit01e377c539ca52a6c753d0fdbe93b3b8fcd66a1c (patch)
tree999e08b9124f5515b25bdf992ae4a0e1d6d7355f
parent423d02e1463b21109106f52d94f7396b63731f3b (diff)
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. 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
-rw-r--r--include/linux/sched/mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h
index 480a4d1b7dd8..a98604ea76f1 100644
--- a/include/linux/sched/mm.h
+++ b/include/linux/sched/mm.h
@@ -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