aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-06-21 12:21:18 +0200
committerRichard Weinberger <richard@nod.at>2022-07-17 23:31:30 +0200
commit53078ceb8d0e530ab360896511005628e69ae896 (patch)
treed40f1bfafd9e72aaa3a4d807f5418704cee9c47c /arch/um
parentum: remove unused variable (diff)
downloadlinux-dev-53078ceb8d0e530ab360896511005628e69ae896.tar.xz
linux-dev-53078ceb8d0e530ab360896511005628e69ae896.zip
um: remove unused mm_copy_segments
It was already removed by commit c17c02040bf0 ("arch: remove unused *_segments() macros/functions") but seems to have been accidentally reintroduced by commit 0500871f21b2 ("Construct init thread stack in the linker script rather than by union"). Remove it for good. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/include/asm/processor-generic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h
index 6a4fe8b4e686..d0fc1862da95 100644
--- a/arch/um/include/asm/processor-generic.h
+++ b/arch/um/include/asm/processor-generic.h
@@ -59,11 +59,6 @@ static inline void release_thread(struct task_struct *task)
{
}
-static inline void mm_copy_segments(struct mm_struct *from_mm,
- struct mm_struct *new_mm)
-{
-}
-
/*
* User space process size: 3GB (default).
*/