* [PATCH] MIPS: Remove dead define of ST_OFF
@ 2017-04-06 10:29 ` Matt Redfearn
0 siblings, 0 replies; 3+ messages in thread
From: Matt Redfearn @ 2017-04-06 10:29 UTC (permalink / raw
To: Ralf Baechle, James Hogan
Cc: linux-mips, Matt Redfearn, trivial, linux-kernel, Paul Burton
Commit 1a3d59579b9f ("MIPS: Tidy up FPU context switching") removed the
last usage of the macro ST_OFF. Remove the dead code.
Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: trivial@kernel.org
---
arch/mips/kernel/r4k_switch.S | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S
index 758577861523..7b386d54fd65 100644
--- a/arch/mips/kernel/r4k_switch.S
+++ b/arch/mips/kernel/r4k_switch.S
@@ -25,12 +25,6 @@
/* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
#undef fp
-/*
- * Offset to the current process status flags, the first 32 bytes of the
- * stack are not used.
- */
-#define ST_OFF (_THREAD_SIZE - 32 - PT_SIZE + PT_STATUS)
-
#ifndef USE_ALTERNATE_RESUME_IMPL
/*
* task_struct *resume(task_struct *prev, task_struct *next,
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] MIPS: Remove dead define of ST_OFF
@ 2017-04-06 10:29 ` Matt Redfearn
0 siblings, 0 replies; 3+ messages in thread
From: Matt Redfearn @ 2017-04-06 10:29 UTC (permalink / raw
To: Ralf Baechle, James Hogan
Cc: linux-mips, Matt Redfearn, trivial, linux-kernel, Paul Burton
Commit 1a3d59579b9f ("MIPS: Tidy up FPU context switching") removed the
last usage of the macro ST_OFF. Remove the dead code.
Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: trivial@kernel.org
---
arch/mips/kernel/r4k_switch.S | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S
index 758577861523..7b386d54fd65 100644
--- a/arch/mips/kernel/r4k_switch.S
+++ b/arch/mips/kernel/r4k_switch.S
@@ -25,12 +25,6 @@
/* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
#undef fp
-/*
- * Offset to the current process status flags, the first 32 bytes of the
- * stack are not used.
- */
-#define ST_OFF (_THREAD_SIZE - 32 - PT_SIZE + PT_STATUS)
-
#ifndef USE_ALTERNATE_RESUME_IMPL
/*
* task_struct *resume(task_struct *prev, task_struct *next,
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: Remove dead define of ST_OFF
2017-04-06 10:29 ` Matt Redfearn
(?)
@ 2017-04-10 10:28 ` Ralf Baechle
-1 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2017-04-10 10:28 UTC (permalink / raw
To: Matt Redfearn; +Cc: James Hogan, linux-mips, trivial, linux-kernel, Paul Burton
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-10 10:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-06 10:29 [PATCH] MIPS: Remove dead define of ST_OFF Matt Redfearn
2017-04-06 10:29 ` Matt Redfearn
2017-04-10 10:28 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.