Re: [PATCH] powerpc: print cores passed to firmware in decimal

2010-07-22 Thread Segher Boessenkool
+ case 'i': + ++q; + v = va_arg(args, unsigned long); + prom_print_dec(v); + break; Unsigned long should be %lu. Segher ___ Linuxppc-dev mailing

Re: [PATCH] powerpc: print cores passed to firmware in decimal

2010-07-22 Thread Jesse Larrew
On 07/22/2010 12:15 AM, Michael Neuling wrote: @@ -869,12 +895,12 @@ static void __init prom_send_capabilities(void) cores = (u32 *)PTRRELOC(ibm_architecture_vec[IBM_ARCH_VEC_NRCORES_OFFSET]); if (*cores != NR_CPUS) { prom_printf(WARNING !

Re: [PATCH] powerpc: print cores passed to firmware in decimal

2010-07-22 Thread Michael Neuling
Currently we look pretty stupid when printing out the number of cores passed to FW Max number of cores passed to firmware: 0x0080 So I've change this to print in decimal: Max number of cores passed to firmware: 128 (NR_CPUS = 256) This required adding a prom_print_dec()

Re: [PATCH] powerpc: print cores passed to firmware in decimal

2010-07-22 Thread Michael Neuling
Currently we look pretty stupid when printing out the number of cores passed to FW Max number of cores passed to firmware: 0x0080 So I've change this to print in decimal: Max number of cores passed to firmware: 128 (NR_CPUS = 256) This required adding a prom_print_dec()

[PATCH] powerpc: print cores passed to firmware in decimal

2010-07-21 Thread Michael Neuling
Currently we look pretty stupid when printing out the number of cores passed to FW Max number of cores passed to firmware: 0x0080 So I've change this to print in decimal: Max number of cores passed to firmware: 128 (NR_CPUS = 256) This required adding a prom_print_dec()