aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorManish Ahuja <ahuja@austin.ibm.com>2008-03-21 19:45:22 -0400
committerPaul Mackerras <paulus@samba.org>2008-03-25 17:44:06 -0400
commita9c508dae10a821dc95653178eec018abc90482e (patch)
tree8f17ea4fcc58bc5d7209e4cb7acb98a68f8ba902 /include/asm-powerpc
parent599c1aa54f06da4fd277982be0731e96f0791caa (diff)
[POWERPC] pseries: phyp dump: Invalidate and print dump areas
This adds routines to a. invalidate dump b. calculate region that is reserved and needs to be freed. This is exported through sysfs interface. Unregister has been removed for now as it wasn't being used. Signed-off-by: Manish Ahuja <mahuja@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/phyp_dump.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/phyp_dump.h b/include/asm-powerpc/phyp_dump.h
index e2d988dcdc99..b454de45b2ca 100644
--- a/include/asm-powerpc/phyp_dump.h
+++ b/include/asm-powerpc/phyp_dump.h
@@ -30,6 +30,9 @@ struct phyp_dump {
30 /* store cpu & hpte size */ 30 /* store cpu & hpte size */
31 unsigned long cpu_state_size; 31 unsigned long cpu_state_size;
32 unsigned long hpte_region_size; 32 unsigned long hpte_region_size;
33 /* previous scratch area values */
34 unsigned long reserved_scratch_addr;
35 unsigned long reserved_scratch_size;
33}; 36};
34 37
35extern struct phyp_dump *phyp_dump_info; 38extern struct phyp_dump *phyp_dump_info;