[PATCH 5/5] v2 Enable multiple sections per directory for ppc
Dave Hansen
dave at linux.vnet.ibm.com
Sat Jul 17 03:18:08 EST 2010
On Thu, 2010-07-15 at 13:41 -0500, Nathan Fontenot wrote:
> linux-2.6.orig/arch/powerpc/platforms/pseries/hotplug-memory.c 2010-07-15 09:54:06.000000000 -0500
> +++ linux-2.6/arch/powerpc/platforms/pseries/hotplug-memory.c 2010-07-15 09:56:19.000000000 -0500
> @@ -17,6 +17,54 @@
> #include <asm/pSeries_reconfig.h>
> #include <asm/sparsemem.h>
>
> +static u32 get_memblock_size(void)
> +{
> + struct device_node *np;
> + unsigned int memblock_size = 0;
> +
Please give this sucker some units. get_memblock_size_bytes()?
get_memblock_size_in_g0ats()?
-- Dave
More information about the Linuxppc-dev
mailing list