lkml.org 
[lkml]   [2010]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/5] v2 Enable multiple sections per directory for ppc
From
Date
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



\
 
 \ /
  Last update: 2010-07-16 19:21    [from the cache]
©2003-2011 Jasper Spaans