Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18101
b: refs/heads/master
c: f5a61d0
h: refs/heads/master
i:
  18099: eecf229
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 12, 2006
1 parent 914097a commit 34f5308
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 47 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: 75bb07e788abb060cc93b6f4dc48a70a53c1406b
refs/heads/master: f5a61d0c13db3522a996075bc1b1884a8af2ed37
2 changes: 0 additions & 2 deletions trunk/include/asm-alpha/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ register struct thread_info *__current_thread_info __asm__("$8");
#define alloc_thread_info(tsk) \
((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* __ASSEMBLY__ */

Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-arm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ static inline struct thread_info *current_thread_info(void)
extern struct thread_info *alloc_thread_info(struct task_struct *task);
extern void free_thread_info(struct thread_info *);

#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#define thread_saved_pc(tsk) \
((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc)))
#define thread_saved_fp(tsk) \
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-arm26/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ static inline struct thread_info *current_thread_info(void)
extern struct thread_info *alloc_thread_info(struct task_struct *task);
extern void free_thread_info(struct thread_info *);

#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#define thread_saved_pc(tsk) \
((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc)))
#define thread_saved_fp(tsk) \
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-cris/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ struct thread_info {
/* thread information allocation */
#define alloc_thread_info(tsk) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* !__ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-frv/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ register struct thread_info *__current_thread_info asm("gr15");
#endif

#define free_thread_info(info) kfree(info)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#else /* !__ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-h8300/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ static inline struct thread_info *current_thread_info(void)
#define alloc_thread_info(tsk) ((struct thread_info *) \
__get_free_pages(GFP_KERNEL, 1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)
#endif /* __ASSEMBLY__ */

/*
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-i386/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ register unsigned long current_stack_pointer asm("esp") __attribute_used__;
#endif

#define free_thread_info(info) kfree(info)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#else /* !__ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-m32r/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ static inline struct thread_info *current_thread_info(void)
#endif

#define free_thread_info(info) kfree(info)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#define TI_FLAG_FAULT_CODE_SHIFT 28

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-m68knommu/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ static inline struct thread_info *current_thread_info(void)
#define alloc_thread_info(tsk) ((struct thread_info *) \
__get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER))
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_SIZE_ORDER)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)
#endif /* __ASSEMBLY__ */

#define PREEMPT_ACTIVE 0x4000000
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-mips/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ register struct thread_info *__current_thread_info __asm__("$28");
#endif

#define free_thread_info(info) kfree(info)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* !__ASSEMBLY__ */

Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-parisc/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ struct thread_info {
#define alloc_thread_info(tsk) ((struct thread_info *) \
__get_free_pages(GFP_KERNEL, THREAD_ORDER))
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_ORDER)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)


/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *)mfctl(30))
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-powerpc/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ struct thread_info {

#endif /* THREAD_SHIFT < PAGE_SHIFT */

#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

/* how to get the thread information struct from C */
static inline struct thread_info *current_thread_info(void)
{
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-s390/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ static inline struct thread_info *current_thread_info(void)
#define alloc_thread_info(tsk) ((struct thread_info *) \
__get_free_pages(GFP_KERNEL,THREAD_ORDER))
#define free_thread_info(ti) free_pages((unsigned long) (ti),THREAD_ORDER)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-sh/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ static inline struct thread_info *current_thread_info(void)
#define THREAD_SIZE (2*PAGE_SIZE)
#define alloc_thread_info(ti) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#else /* !__ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-sh64/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ static inline struct thread_info *current_thread_info(void)

#define alloc_thread_info(ti) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* __ASSEMBLY__ */

Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-sparc/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ BTFIXUPDEF_CALL(struct thread_info *, alloc_thread_info, void)
BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
#define free_thread_info(ti) BTFIXUP_CALL(free_thread_info)(ti)

#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* __ASSEMBLY__ */

/*
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-um/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ static inline struct thread_info *current_thread_info(void)
((struct thread_info *) kmalloc(THREAD_SIZE, GFP_KERNEL))
#define free_thread_info(ti) kfree(ti)

#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif

#define PREEMPT_ACTIVE 0x10000000
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-v850/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ struct thread_info {
#define alloc_thread_info(tsk) ((struct thread_info *) \
__get_free_pages(GFP_KERNEL, 1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#endif /* __ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-x86_64/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ static inline struct thread_info *stack_thread_info(void)
#define alloc_thread_info(tsk) \
((struct thread_info *) __get_free_pages(GFP_KERNEL,THREAD_ORDER))
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_ORDER)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#else /* !__ASSEMBLY__ */

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-xtensa/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ static inline struct thread_info *current_thread_info(void)
/* thread information allocation */
#define alloc_thread_info(tsk) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
#define get_thread_info(ti) get_task_struct((ti)->task)
#define put_thread_info(ti) put_task_struct((ti)->task)

#else /* !__ASSEMBLY__ */

Expand Down

0 comments on commit 34f5308

Please sign in to comment.