commit | 78989f0a5592182a3d45d869ddaafc71c8f673af | [log] [tgz] |
---|---|---|
author | Hari Bathini <hbathini@linux.vnet.ibm.com> | Fri Feb 06 01:06:04 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Mar 23 14:05:49 2015 +1100 |
tree | 262f1696f4ec07ce621f9cc143952a97faa13319 | |
parent | 3af229f2071f5b5cb31664be6109561fbe19c861 [diff] |
powerpc/nvram: Move generic code for nvram and pstore With minor checks, we can move most of the code for nvram under pseries to a common place to be re-used by other powerpc platforms like powernv. This patch moves such common code to arch/powerpc/kernel/nvram_64.c file. Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com> [mpe: Move select of ZLIB_DEFLATE to PPC64 to fix the build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>