Re: [PATCH] x86_64: print processor number in show_regs

2005-07-15 Thread Zwane Mwaikambo
On Fri, 15 Jul 2005, Andi Kleen wrote: > On Fri, 15 Jul 2005 05:04:57 -0600 (MDT) > Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > > > > void show_regs(struct pt_regs *regs) > > { > > + printk("CPU %d:", smp_processor_id()); > > Isn't there a space after the : missing here? I don't believe s

Re: [PATCH] x86_64: print processor number in show_regs

2005-07-15 Thread Andi Kleen
On Fri, 15 Jul 2005 05:04:57 -0600 (MDT) Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > void show_regs(struct pt_regs *regs) > { > + printk("CPU %d:", smp_processor_id()); Isn't there a space after the : missing here? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH] x86_64: print processor number in show_regs

2005-07-15 Thread Zwane Mwaikambo
On Fri, 15 Jul 2005, Zwane Mwaikambo wrote: > Up to date i've been using the GS value to determine the processor number > in dumps from show_regs, however this can be cumbersome to do if you don't > have the vmlinux to verify with the address of cpu_pda, how about the > following? I considered