summaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-22 09:42:42 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-22 12:59:52 -1000
commitc17c02040bf0d186cebd3e66ff349f955575bf38 (patch)
tree670db70d8c21e0965a518501e09ee40f5736635d /arch/frv
parent0a8abd97dcda50e5d2c893a51733416534e95706 (diff)
downloadlinux-stable-c17c02040bf0d186cebd3e66ff349f955575bf38.tar.gz
linux-stable-c17c02040bf0d186cebd3e66ff349f955575bf38.tar.bz2
linux-stable-c17c02040bf0d186cebd3e66ff349f955575bf38.zip
arch: remove unused *_segments() macros/functions
Some architectures define the no-op macros/functions copy_segments, release_segments and forget_segments. These are used nowhere in the tree, so removed them. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Vineet Gupta <vgupta@synopsys.com> [for arch/arc] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/frv')
-rw-r--r--arch/frv/include/asm/processor.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/frv/include/asm/processor.h b/arch/frv/include/asm/processor.h
index e4d08d74ed9f..021cce78b401 100644
--- a/arch/frv/include/asm/processor.h
+++ b/arch/frv/include/asm/processor.h
@@ -92,10 +92,6 @@ static inline void release_thread(struct task_struct *dead_task)
extern asmlinkage void save_user_regs(struct user_context *target);
extern asmlinkage void *restore_user_regs(const struct user_context *target, ...);
-#define copy_segments(tsk, mm) do { } while (0)
-#define release_segments(mm) do { } while (0)
-#define forget_segments() do { } while (0)
-
unsigned long get_wchan(struct task_struct *p);
#define KSTK_EIP(tsk) ((tsk)->thread.frame0->pc)