Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166958
b: refs/heads/master
c: f32ed39
h: refs/heads/master
v: v3
  • Loading branch information
Tim Abbott authored and Kyle McMartin committed Sep 28, 2009
1 parent 8471cc7 commit eba1e19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: fe579c69c6d437009460feeb4d748c2f2020a5f2
refs/heads/master: f32ed3954c5e365907738b1206e849b6bbe9bcef
10 changes: 5 additions & 5 deletions trunk/arch/parisc/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ struct thread_info {
#define init_thread_info (init_thread_union.thread_info)
#define init_stack (init_thread_union.stack)

/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *)mfctl(30))

#endif /* !__ASSEMBLY */

/* thread information allocation */

#define THREAD_SIZE_ORDER 2
Expand All @@ -40,11 +45,6 @@ struct thread_info {
#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
#define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER)

/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *)mfctl(30))

#endif /* !__ASSEMBLY */

#define PREEMPT_ACTIVE_BIT 28
#define PREEMPT_ACTIVE (1 << PREEMPT_ACTIVE_BIT)

Expand Down

0 comments on commit eba1e19

Please sign in to comment.