diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-22 06:52:47 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-22 06:52:49 -0400 |
commit | 3610cce87af0693603db171d5b6f6735f5e3dc5b (patch) | |
tree | 9aa7d9a0924b2f075c1b95ed57bb63ed512165c9 /include/asm-s390/processor.h | |
parent | e4aa402e7a3b6b87d8df6243a37171cdcd2f01c2 (diff) |
[S390] Cleanup page table definitions.
- De-confuse the defines for the address-space-control-elements
and the segment/region table entries.
- Create out of line functions for page table allocation / freeing.
- Simplify get_shadow_xxx functions.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/processor.h')
-rw-r--r-- | include/asm-s390/processor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 81efccc63942..21d40a19355e 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
@@ -127,12 +127,6 @@ struct stack_frame { | |||
127 | 127 | ||
128 | #define ARCH_MIN_TASKALIGN 8 | 128 | #define ARCH_MIN_TASKALIGN 8 |
129 | 129 | ||
130 | #ifndef __s390x__ | ||
131 | # define __SWAPPER_PG_DIR __pa(&swapper_pg_dir[0]) + _SEGMENT_TABLE | ||
132 | #else /* __s390x__ */ | ||
133 | # define __SWAPPER_PG_DIR __pa(&swapper_pg_dir[0]) + _REGION_TABLE | ||
134 | #endif /* __s390x__ */ | ||
135 | |||
136 | #define INIT_THREAD { \ | 130 | #define INIT_THREAD { \ |
137 | .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \ | 131 | .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \ |
138 | } | 132 | } |