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>
This commit is contained in:

committed by
Tony Luck

szülő
f6cede5b49
commit
764fd639d7
@@ -55,8 +55,8 @@ static ulong ramoops_pmsg_size = MIN_MEM_SIZE;
|
||||
module_param_named(pmsg_size, ramoops_pmsg_size, ulong, 0400);
|
||||
MODULE_PARM_DESC(pmsg_size, "size of user space message log");
|
||||
|
||||
static ulong mem_address;
|
||||
module_param(mem_address, ulong, 0400);
|
||||
static unsigned long long mem_address;
|
||||
module_param(mem_address, ullong, 0400);
|
||||
MODULE_PARM_DESC(mem_address,
|
||||
"start of reserved RAM used to store oops/panic logs");
|
||||
|
||||
|
Reference in New Issue
Block a user