projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f83f5e
)
MIPS: Remove dead define of ST_OFF
author
Matt Redfearn
<
[email protected]
>
Thu, 6 Apr 2017 10:29:06 +0000
(11:29 +0100)
committer
Ralf Baechle
<
[email protected]
>
Wed, 12 Apr 2017 11:52:21 +0000
(13:52 +0200)
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 <
[email protected]
>
Cc: James Hogan <
[email protected]
>
Cc: Paul Burton <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15898/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/r4k_switch.S
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/r4k_switch.S
b/arch/mips/kernel/r4k_switch.S
index 758577861523059a3e2e1f83e947121df094877a..7b386d54fd656cd6a2789fe79a72466ee8b0695b 100644
(file)
--- 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,