summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManish Ahuja <ahuja@austin.ibm.com>2008-03-21 23:45:22 (GMT)
committerPaul Mackerras <paulus@samba.org>2008-03-25 21:44:06 (GMT)
commita9c508dae10a821dc95653178eec018abc90482e (patch)
tree8f17ea4fcc58bc5d7209e4cb7acb98a68f8ba902 /include
parent599c1aa54f06da4fd277982be0731e96f0791caa (diff)
downloadlinux-fsl-qoriq-a9c508dae10a821dc95653178eec018abc90482e.tar.xz
[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')
-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 e2d988d..b454de4 100644
--- a/include/asm-powerpc/phyp_dump.h
+++ b/include/asm-powerpc/phyp_dump.h
@@ -30,6 +30,9 @@ struct phyp_dump {
/* store cpu & hpte size */
unsigned long cpu_state_size;
unsigned long hpte_region_size;
+ /* previous scratch area values */
+ unsigned long reserved_scratch_addr;
+ unsigned long reserved_scratch_size;
};
extern struct phyp_dump *phyp_dump_info;