diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-03-04 17:32:46 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-04 17:32:46 -0800 |
| commit | ad826aafc674e081c49c6c426db284f926a52bd1 (patch) | |
| tree | f91f4e52ad7649aaa7078613f924533d41cd4778 /include | |
| parent | 8e9014435180c54811db0ad446941bb33b1e5e26 (diff) | |
[PATCH] ppc64: Move systemcfg out of head.S
The "systemcfg" data structure in the ppc64 kernel is something that used
to be defined to be at a hard-coded page number in the kernel image. This
is not necessary (at least not any more) and is a possible problem with
future developements. This patch removes that constraint, which also
simplifies various bits of assembly in head.S that were dealing with it.
This is the first step of a deeper cleanup of systemcfg definition of usage
(and ultimately removal in it's current incarnation).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc64/systemcfg.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-ppc64/systemcfg.h b/include/asm-ppc64/systemcfg.h index 13d96bfaf46d..ab328ad80b73 100644 --- a/include/asm-ppc64/systemcfg.h +++ b/include/asm-ppc64/systemcfg.h @@ -47,7 +47,6 @@ struct systemcfg { __u32 dcache_line_size; /* L1 d-cache line size 0x64 */ __u32 icache_size; /* L1 i-cache size 0x68 */ __u32 icache_line_size; /* L1 i-cache line size 0x6C */ - __u8 reserved0[3984]; /* Reserve rest of page 0x70 */ }; #ifdef __KERNEL__ @@ -56,8 +55,4 @@ extern struct systemcfg *systemcfg; #endif /* __ASSEMBLY__ */ -#define SYSTEMCFG_PAGE 0x5 -#define SYSTEMCFG_PHYS_ADDR (SYSTEMCFG_PAGE<<PAGE_SHIFT) -#define SYSTEMCFG_VIRT_ADDR (KERNELBASE+SYSTEMCFG_PHYS_ADDR) - #endif /* _SYSTEMCFG_H */ |
