···8283/* FIXME - PAGE_SIZE < 32K */84#define THREAD_SIZE (8*32768) // FIXME - this needs attention (see kernel/fork.c which gets a nice div by zero if this is lower than 8*3276885-#define task_pt_regs(task) ((struct pt_regs *)((unsigned long)(task)->thread_info + THREAD_SIZE - 8) - 1)8687extern struct thread_info *alloc_thread_info(struct task_struct *task);88extern void free_thread_info(struct thread_info *);
···8283/* FIXME - PAGE_SIZE < 32K */84#define THREAD_SIZE (8*32768) // FIXME - this needs attention (see kernel/fork.c which gets a nice div by zero if this is lower than 8*3276885+#define task_pt_regs(task) ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE - 8) - 1)8687extern struct thread_info *alloc_thread_info(struct task_struct *task);88extern void free_thread_info(struct thread_info *);