]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/nvram: Change nvram_setup_partition() to use new helper
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Aug 2010 00:13:56 +0000 (10:13 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Nov 2010 04:35:08 +0000 (15:35 +1100)
commit668569893af2c8abdc2e05d62ac9c2081126a811
tree8ba2e79713cf16a0a51ee6639b634ffed337bb92
parent9dea76800c8ffce14bdfd817baa7fc2bf57ce6fd
powerpc/nvram: Change nvram_setup_partition() to use new helper

This changes the function to use nvram_find_partition() instead
of doing the lookup "by hand". It also makes some of the logic
clearer and prints out more useful diagnostic information.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/nvram_64.c