git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Construct init thread stack in the linker script rather than by union
[sfrench/cifs-2.6.git]
/
arch
/
powerpc
/
include
/
asm
/
thread_info.h
diff --git
a/arch/powerpc/include/asm/thread_info.h
b/arch/powerpc/include/asm/thread_info.h
index a264c3ad366b785399279858071df3afe4625aeb..4a12c00f8de3ec1aa90069d01a9b1de3f3174d00 100644
(file)
--- a/
arch/powerpc/include/asm/thread_info.h
+++ b/
arch/powerpc/include/asm/thread_info.h
@@
-58,9
+58,6
@@
struct thread_info {
.flags = 0, \
}
-#define init_thread_info (init_thread_union.thread_info)
-#define init_stack (init_thread_union.stack)
-
#define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT)
/* how to get the thread information struct from C */