Commit 828d1e4e authored by Matt Redfearn's avatar Matt Redfearn Committed by Ralf Baechle

MIPS: Remove dead define of ST_OFF

Commit 1a3d5957 ("MIPS: Tidy up FPU context switching") removed the
last usage of the macro ST_OFF. Remove the dead code.
Signed-off-by: default avatarMatt Redfearn <matt.redfearn@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: trivial@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15898/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1f83f5e4
...@@ -25,12 +25,6 @@ ...@@ -25,12 +25,6 @@
/* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
#undef fp #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 #ifndef USE_ALTERNATE_RESUME_IMPL
/* /*
* task_struct *resume(task_struct *prev, task_struct *next, * task_struct *resume(task_struct *prev, task_struct *next,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment