commit | e49e2e87235518c21b1f5228809209831e6169e7 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jul 29 17:38:55 2010 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Nov 30 15:33:58 2010 +1100 |
tree | 4c4db56f64fa796e87d693835cb14b4f31f6303b | |
parent | cef0d5ad62ec6e0c8456b8f58e898aa3219311a5 [diff] |
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>