Searched hist:cb9c6f15f318aa3aeb62fe525aa5c6dcf6eee159 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/xen/ |
H A D | spinlock.c | diff cb91f8f44caf346654fe9b17b2b359b95f98c049 Mon May 06 07:33:15 CDT 2013 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> xen/spinlock: Fix check from greater than to be also be greater or equal to.
During review of git commit cb9c6f15f318aa3aeb62fe525aa5c6dcf6eee159 ("xen/spinlock: Check against default value of -1 for IRQ line.") Stefano pointed out a bug in the patch. Unfortunatly due to vacation timing the fix was not applied and this patch fixes it up.
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> diff cb9c6f15f318aa3aeb62fe525aa5c6dcf6eee159 Tue Apr 16 13:33:20 CDT 2013 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> xen/spinlock: Check against default value of -1 for IRQ line.
The default (uninitialized) value of the IRQ line is -1. Check if we already have allocated an spinlock interrupt line and if somebody is trying to do it again. Also set it to -1 when we offline the CPU.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|