aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/arch
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2007-11-23 16:25:59 +0000
committerKeir Fraser <keir.fraser@citrix.com>2007-11-23 16:25:59 +0000
commit9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2 (patch)
treebbdde8340db924fd70540cc7c6d4f41ddfccb3dd /extras/mini-os/arch
parentfd2f80c255acc5edf0cea58053c81f392042bf51 (diff)
downloadxen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.tar.gz
xen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.tar.bz2
xen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.zip
[Mini-OS] Make bind_virq return the port
Make bind_virq() return the port bound to the irq, which is useful e.g. for masking/unmasking it. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
Diffstat (limited to 'extras/mini-os/arch')
-rw-r--r--extras/mini-os/arch/ia64/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/arch/ia64/time.c b/extras/mini-os/arch/ia64/time.c
index 2d943e8c7a..e000ced098 100644
--- a/extras/mini-os/arch/ia64/time.c
+++ b/extras/mini-os/arch/ia64/time.c
@@ -267,7 +267,7 @@ init_time(void)
printk("efi_get_time() failed\n");
err = bind_virq(VIRQ_ITC, timer_interrupt, NULL);
- if (err != 0) {
+ if (err == -1) {
printk("XEN timer request chn bind failed %i\n", err);
return;
}