Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302839
b: refs/heads/master
c: 803fc74
h: refs/heads/master
i:
  302837: 1d4cdde
  302835: cf4304b
  302831: 7a10e3e
v: v3
  • Loading branch information
Thomas Gleixner committed May 8, 2012
1 parent cad7c4a commit 3a9ea60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 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: 38e7c572ce7310def003d8bb7c34260f5d8118cb
refs/heads/master: 803fc74f06cf3cd23417463ca5a176b41717ec19
5 changes: 2 additions & 3 deletions trunk/arch/cris/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ struct task_struct;
*/
#define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))

/* THREAD_SIZE is the size of the task_struct/kernel_stack combo.
/* THREAD_SIZE is the size of the thread_info/kernel_stack combo.
* normally, the stack is found by doing something like p + THREAD_SIZE
* in CRIS, a page is 8192 bytes, which seems like a sane size
*/

#define THREAD_SIZE PAGE_SIZE
#define KERNEL_STACK_SIZE PAGE_SIZE
#define THREAD_SIZE_ORDER (0)

/*
* At user->kernel entry, the pt_regs struct is stacked on the top of the kernel-stack.
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/cris/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ struct thread_info {

#define init_thread_info (init_thread_union.thread_info)

#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
/* thread information allocation */
#define alloc_thread_info_node(tsk, node) \
((struct thread_info *) __get_free_pages(GFP_KERNEL, 1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)

#endif /* !__ASSEMBLY__ */

/*
Expand Down

0 comments on commit 3a9ea60

Please sign in to comment.