aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 12:26:59 +0100
committerAdrian Bunk <bunk@r063144.stusta.swh.mhn.de>2005-11-07 12:26:59 +0100
commitb7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2 (patch)
tree66bf5c66ed505a739bf8633d1931f0d0526bd6d6 /arch/ppc64/kernel/asm-offsets.c
parent65163fd73c65e4c61437c28ac4ef9f3c5ba16a80 (diff)
parent0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 (diff)
Merge with http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'arch/ppc64/kernel/asm-offsets.c')
-rw-r--r--arch/ppc64/kernel/asm-offsets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/asm-offsets.c b/arch/ppc64/kernel/asm-offsets.c
index 504dee836d2..bce9065da6c 100644
--- a/arch/ppc64/kernel/asm-offsets.c
+++ b/arch/ppc64/kernel/asm-offsets.c
@@ -93,6 +93,9 @@ int main(void)
DEFINE(PACASLBCACHE, offsetof(struct paca_struct, slb_cache));
DEFINE(PACASLBCACHEPTR, offsetof(struct paca_struct, slb_cache_ptr));
DEFINE(PACACONTEXTID, offsetof(struct paca_struct, context.id));
+#ifdef CONFIG_PPC_64K_PAGES
+ DEFINE(PACAPGDIR, offsetof(struct paca_struct, pgdir));
+#endif
#ifdef CONFIG_HUGETLB_PAGE
DEFINE(PACALOWHTLBAREAS, offsetof(struct paca_struct, context.low_htlb_areas));
DEFINE(PACAHIGHHTLBAREAS, offsetof(struct paca_struct, context.high_htlb_areas));