summaryrefslogtreecommitdiffstats
path: root/include/linux/pstore_ram.h
diff options
context:
space:
mode:
authorWiebe, Wladislav (Nokia - DE/Ulm) <wladislav.wiebe@nokia.com>2015-11-13 12:10:05 +0000
committerTony Luck <tony.luck@intel.com>2016-03-10 09:43:36 -0800
commit764fd639d794a1c0b0d203b19d1bef0451c23fb1 (patch)
tree7aa3ddd616ea3da4a8f1e4b6d4d0b88d79f409e4 /include/linux/pstore_ram.h
parentf6cede5b49e822ebc41a099fe41ab4989f64e2cb (diff)
downloadlinux-764fd639d794a1c0b0d203b19d1bef0451c23fb1.tar.gz
linux-764fd639d794a1c0b0d203b19d1bef0451c23fb1.tar.bz2
linux-764fd639d794a1c0b0d203b19d1bef0451c23fb1.zip
pstore: Add support for 64 Bit address space
Some architectures have their reserved RAM in 64 Bit address space. Therefore convert mem_address module parameter to ullong. Signed-off-by: Wladislav Wiebe <wladislav.wiebe@nokia.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux/pstore_ram.h')
-rw-r--r--include/linux/pstore_ram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h
index 9c9d6c154c8e..4660aaa3195e 100644
--- a/include/linux/pstore_ram.h
+++ b/include/linux/pstore_ram.h
@@ -76,7 +76,7 @@ ssize_t persistent_ram_ecc_string(struct persistent_ram_zone *prz,
struct ramoops_platform_data {
unsigned long mem_size;
- unsigned long mem_address;
+ phys_addr_t mem_address;
unsigned int mem_type;
unsigned long record_size;
unsigned long console_size;