Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18627
b: refs/heads/master
c: 96419b7
h: refs/heads/master
i:
  18625: cb2a59f
  18623: 45c7aa2
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 17, 2006
1 parent 30d4770 commit 69fbe29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6aa4c0ef388201745adadfc7855b8a871f0e6122
refs/heads/master: 96419b7c4d996d9f12ca9f7189f316ed2938074a
3 changes: 1 addition & 2 deletions trunk/include/asm-arm26/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 69fbe29

Please sign in to comment.