aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kexec.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-07-29 17:38:55 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-11-30 15:33:58 +1100
commite49e2e87235518c21b1f5228809209831e6169e7 (patch)
tree4c4db56f64fa796e87d693835cb14b4f31f6303b /kernel/kexec.c
parentcef0d5ad62ec6e0c8456b8f58e898aa3219311a5 (diff)
downloadkernel_samsung_smdk4412-e49e2e87235518c21b1f5228809209831e6169e7.zip
kernel_samsung_smdk4412-e49e2e87235518c21b1f5228809209831e6169e7.tar.gz
kernel_samsung_smdk4412-e49e2e87235518c21b1f5228809209831e6169e7.tar.bz2
powerpc/nvram: Shuffle code around in nvram_create_partition()
This error log stuff is really pseries specific. As a first step we move the initialization of these variables to the caller of nvram_create_partition(), which is also slightly reorganized so we setup the free partition before we clear the new partition, so the chance of an error during clear leaving us with invalid headers is lessened. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions