powerpc/nvram: nvram_create_partitions() now uses bytes
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Jul 2010 08:18:44 +0000 (18:18 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Nov 2010 04:32:06 +0000 (15:32 +1100)
commit36673307aee535f951f4eede81049c6962bc4ba9
tree20f238a8883ba449e9a9634a74d65c0632827794
parent4e7c77a385efac81d6677a4a761b1b66cd2cb59e
powerpc/nvram: nvram_create_partitions() now uses bytes

This converts nvram_create_partition() to use a size in bytes
rather than blocks. It does the appropriate alignment internally

The size passed is also the data size (ie. doesn't include the
header anymore).

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