From 69fbe29a20239de0a12244e64347bc5d6a090af8 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 16 Jan 2006 22:13:55 -0800 Subject: [PATCH] --- yaml --- r: 18627 b: refs/heads/master c: 96419b7c4d996d9f12ca9f7189f316ed2938074a h: refs/heads/master i: 18625: cb2a59f45f74cdb71ae086e13f824747fa0992bf 18623: 45c7aa2a11ea3629ea92a8e6ba4af78968db7925 v: v3 --- [refs] | 2 +- trunk/include/asm-arm26/thread_info.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 4a302914e7f2..11c262c7e9be 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6aa4c0ef388201745adadfc7855b8a871f0e6122 +refs/heads/master: 96419b7c4d996d9f12ca9f7189f316ed2938074a diff --git a/trunk/include/asm-arm26/thread_info.h b/trunk/include/asm-arm26/thread_info.h index a65e58a0a767..9b367ebe515d 100644 --- a/trunk/include/asm-arm26/thread_info.h +++ b/trunk/include/asm-arm26/thread_info.h @@ -80,8 +80,7 @@ static inline struct thread_info *current_thread_info(void) return (struct thread_info *)(sp & ~0x1fff); } -/* FIXME - PAGE_SIZE < 32K */ -#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*32768 +#define THREAD_SIZE PAGE_SIZE #define task_pt_regs(task) ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE - 8) - 1) extern struct thread_info *alloc_thread_info(struct task_struct *task);