projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2470216
)
task_stack.h: remove obsolete __HAVE_ARCH_KSTACK_END check
author
Pasha Tatashin
<pasha.tatashin@soleen.com>
Thu, 3 Apr 2025 12:33:03 +0000
(14:33 +0200)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 12 May 2025 00:54:04 +0000
(17:54 -0700)
Remove __HAVE_ARCH_KSTACK_END as it has been obsolete since removal of
metag architecture in v4.17.
Link:
https://lkml.kernel.org/r/20250403-kstack-end-v1-1-7798e71f34d1@linaro.org
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Link:
https://lore.kernel.org/20240311164638.2015063-2-pasha.tatashin@soleen.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/sched/task_stack.h
patch
|
blob
|
history
diff --git
a/include/linux/sched/task_stack.h
b/include/linux/sched/task_stack.h
index
cffad65
..
85c5a63
100644
(file)
--- a/
include/linux/sched/task_stack.h
+++ b/
include/linux/sched/task_stack.h
@@
-106,7
+106,6
@@
static inline unsigned long stack_not_used(struct task_struct *p)
#endif
extern void set_task_stack_end_magic(struct task_struct *tsk);
-#ifndef __HAVE_ARCH_KSTACK_END
static inline int kstack_end(void *addr)
{
/* Reliable end of stack detection:
@@
-114,6
+113,5
@@
static inline int kstack_end(void *addr)
*/
return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*)));
}
-#endif
#endif /* _LINUX_SCHED_TASK_STACK_H */