]> git.baikalelectronics.ru Git - kernel.git/commit
ramoops: make it possible to change mem_type param.
authorWang Long <long.wanglong@huawei.com>
Thu, 21 May 2015 16:52:29 +0000 (09:52 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 21 May 2015 16:52:29 +0000 (09:52 -0700)
commit16140a6e51fdaf2767ed55be122515393126d24e
tree08ce2a2ffee499e6f1145a371ee1a7c95899b933
parent7d5c8477dc49b0d6a0eeaad2bbc54abf859aeb8b
ramoops: make it possible to change mem_type param.

If we set ramoops.mem_type=1 in command line, the current
code can not change mem_type to 1, because it is assigned
to 0 in function ramoops_register_dummy.

This patch make it possible to change mem_type parameter
in command line.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/ram.c