diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-03-06 18:25:16 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-03-21 17:06:15 +0100 |
commit | 7d2de1376226eab4660e162e0728eadd18db3c4a (patch) | |
tree | 32afe25b43e723e0d649ad129dfef21865c172ed /net/nonet.c | |
parent | 6721fc0a0d87019b08384ac798ca7d51bc5fda4e (diff) |
x86: tight online check in setup_per_cpu_areas
when numa disabled I got this compile warning:
arch/x86/kernel/setup64.c: In function setup_per_cpu_areas:
arch/x86/kernel/setup64.c:147: warning: the address of
contig_page_data will always evaluate as true
it seems we missed checking if the node is online before we try to refer
NODE_DATA. Fix it.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions