aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-06-05 14:10:59 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 05:31:32 -0400
commit053713f5745b8b08fb598adb65230bc168cb9d8d (patch)
treed0b297fda89e11bb907ac1e196ac605b2a3cb262 /arch/x86/kernel/setup.c
parent03db1f74a7d823e3de3767f36b1e08829f6fb3a1 (diff)
x86: fix setup.c printk format warning
Fix setup.c printk format warning: linux-next-20080605/arch/x86/kernel/setup.c: In function 'setup_per_cpu_areas': linux-next-20080605/arch/x86/kernel/setup.c:173: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'ssize_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index df49ce87a300..d4eaa4eb481d 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -169,7 +169,7 @@ void __init setup_per_cpu_areas(void)
169 169
170 /* Copy section for each CPU (we discard the original) */ 170 /* Copy section for each CPU (we discard the original) */
171 size = PERCPU_ENOUGH_ROOM; 171 size = PERCPU_ENOUGH_ROOM;
172 printk(KERN_INFO "PERCPU: Allocating %lu bytes of per cpu data\n", 172 printk(KERN_INFO "PERCPU: Allocating %zd bytes of per cpu data\n",
173 size); 173 size);
174 174
175 for_each_possible_cpu(cpu) { 175 for_each_possible_cpu(cpu) {