From: Ian Campbell Date: Sat, 7 Feb 2009 00:55:58 +0000 (-0800) Subject: xen: explicitly initialise the cpu field of irq_info X-Git-Tag: v2.6.30-rc1~211^2~26^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90af9514ac99f51e81682c7bec8f9fb88a17a95c;p=pandora-kernel.git xen: explicitly initialise the cpu field of irq_info I was seeing a very odd crash on 64 bit in bind_evtchn_to_cpu because cpu_from_irq(irq) was coming out as -1. I found this was coming direct from the mk_ipi_info call. It's not clear to me that this isn't a compiler bug (implicit initialisation to zero of unsigned shorts in a struct not handled correctly?). On the other hand is it true that all event channels start of bound to CPU 0? If not then -1 might be correct and the various other functions should cope with this. Signed-off-by: Ian Campbell Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed