xen/time: Add default value of -1 for IRQ and check for that.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Apr 2013 01:05:15 +0000 (21:05 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 16 Apr 2013 20:05:14 +0000 (16:05 -0400)
commitef35a4e6d9eef3bd904b8c6b85618a2e878e801e
treeebb98bf24a457a4c48325625777408319e55a913
parent94032c506720e26402db64987e08168565b57990
xen/time: Add default value of -1 for IRQ and check for that.

If the timer interrupt has been de-init or is just now being
initialized, the default value of -1 should be preset as
interrupt line. Check for that and if something is odd
WARN us.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/time.c