git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-powerpc
/
thread_info.h
diff --git
a/include/asm-powerpc/thread_info.h
b/include/asm-powerpc/thread_info.h
index
d339e2e
..
ffc7462
100644
(file)
--- a/
include/asm-powerpc/thread_info.h
+++ b/
include/asm-powerpc/thread_info.h
@@
-21,6
+21,7
@@
#define THREAD_SIZE (1 << THREAD_SHIFT)
#ifndef __ASSEMBLY__
#define THREAD_SIZE (1 << THREAD_SHIFT)
#ifndef __ASSEMBLY__
+#include <linux/config.h>
#include <linux/cache.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <linux/cache.h>
#include <asm/processor.h>
#include <asm/page.h>
@@
-36,8
+37,6
@@
struct thread_info {
int preempt_count; /* 0 => preemptable,
<0 => BUG */
struct restart_block restart_block;
int preempt_count; /* 0 => preemptable,
<0 => BUG */
struct restart_block restart_block;
- unsigned long local_flags; /* private flags for thread */
-
/* low level flags - has atomic operations done on it */
unsigned long flags ____cacheline_aligned_in_smp;
};
/* low level flags - has atomic operations done on it */
unsigned long flags ____cacheline_aligned_in_smp;
};
@@
-144,12
+143,6
@@
static inline struct thread_info *current_thread_info(void)
_TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK)
#define _TIF_PERSYSCALL_MASK (_TIF_RESTOREALL|_TIF_NOERROR)
_TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK)
#define _TIF_PERSYSCALL_MASK (_TIF_RESTOREALL|_TIF_NOERROR)
-/* Bits in local_flags */
-/* Don't move TLF_NAPPING without adjusting the code in entry_32.S */
-#define TLF_NAPPING 0 /* idle thread enabled NAP mode */
-
-#define _TLF_NAPPING (1 << TLF_NAPPING)
-
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_THREAD_INFO_H */
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_THREAD_INFO_H */