Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262310
b: refs/heads/master
c: d496921
h: refs/heads/master
v: v3
  • Loading branch information
WANG Cong authored and Linus Torvalds committed Aug 4, 2011
1 parent ead1d61 commit 682ddfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1560ffe62a9d53a51faeec7417becfba4f2a0d18
refs/heads/master: d4969213f9e75ec1bfa6ea65c279c64cab7d1bd6
6 changes: 3 additions & 3 deletions trunk/arch/cris/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

#ifdef __KERNEL__

#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR

#ifndef __ASSEMBLY__
#include <asm/types.h>
#include <asm/processor.h>
Expand Down Expand Up @@ -67,8 +65,10 @@ 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(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#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 682ddfd

Please sign in to comment.