Commit db80bd2c authored by Pasha Tatashin's avatar Pasha Tatashin Committed by Andrew Morton
Browse files

task_stack.h: remove obsolete __HAVE_ARCH_KSTACK_END check

parent 24702162
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 */