Re: [RFC][PATCH 00/26] sched/numa

From: Peter Zijlstra
Date: Thu Mar 22 2012 - 05:46:20 EST



> I was going to try and test this on power, but it fails to build:
>
> mm/filemap_xip.c: In function â__xip_unmapâ:
> mm/filemap_xip.c:199: error: implicit declaration of function
> ânuma_add_vma_counterâ

Add:

#include <linux/mempolicy.h>

to that file and it should build.

> > [26/26] sched, numa: A few debug bits
>
> introduced a new warning:
>
> kernel/sched/numa.c: In function âprocess_cpu_runtimeâ:
> kernel/sched/numa.c:210: warning: format â%luâ expects type âlong
> unsigned intâ, but argument 3 has type âu64â
> kernel/sched/numa.c:210: warning: format â%luâ expects type âlong
> unsigned intâ, but argument 4 has type âu64â

Yeah, that's a known trainwreck, some archs define u64 as unsigned long
others as unsigned long long, so whatever you write: %ul or %ull is
wrong and I can't be arsed to add an explict cast since its all debug
bits that won't ever make it in anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/