projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PKTGEN]: Fix Initialization fail leak.
[powerpc.git]
/
include
/
asm-m32r
/
thread_info.h
diff --git
a/include/asm-m32r/thread_info.h
b/include/asm-m32r/thread_info.h
index
9f3a0fc
..
22aff32
100644
(file)
--- a/
include/asm-m32r/thread_info.h
+++ b/
include/asm-m32r/thread_info.h
@@
-28,7
+28,7
@@
struct thread_info {
unsigned long flags; /* low level flags */
unsigned long status; /* thread-synchronous flags */
__u32 cpu; /* current CPU */
unsigned long flags; /* low level flags */
unsigned long status; /* thread-synchronous flags */
__u32 cpu; /* current CPU */
-
__s32 preempt_count;
/* 0 => preemptable, <0 => BUG */
+
int preempt_count;
/* 0 => preemptable, <0 => BUG */
mm_segment_t addr_limit; /* thread address space:
0-0xBFFFFFFF for user-thread
mm_segment_t addr_limit; /* thread address space:
0-0xBFFFFFFF for user-thread
@@
-95,7
+95,7
@@
static inline struct thread_info *current_thread_info(void)
}
/* thread information allocation */
}
/* thread information allocation */
-#if CONFIG_DEBUG_STACK_USAGE
+#if
def
CONFIG_DEBUG_STACK_USAGE
#define alloc_thread_info(tsk) \
({ \
struct thread_info *ret; \
#define alloc_thread_info(tsk) \
({ \
struct thread_info *ret; \
@@
-110,8
+110,6
@@
static inline struct thread_info *current_thread_info(void)
#endif
#define free_thread_info(info) kfree(info)
#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
#define TI_FLAG_FAULT_CODE_SHIFT 28