aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-11 09:29:00 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-11 09:29:00 +0100
commit30fbfa471fdd06beeb95d201005ddde36dcc9205 (patch)
tree0ab38efe2056e6f16671826eae42fd3fc95218d8 /unmodified_drivers
parentfc91db2baf8316ee6bb7c4c505917c121d4bdb21 (diff)
downloadxen-30fbfa471fdd06beeb95d201005ddde36dcc9205.tar.gz
xen-30fbfa471fdd06beeb95d201005ddde36dcc9205.tar.bz2
xen-30fbfa471fdd06beeb95d201005ddde36dcc9205.zip
PV-on-HVM: Fixes for module loading.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'unmodified_drivers')
-rw-r--r--unmodified_drivers/linux-2.6/platform-pci/evtchn.c2
-rw-r--r--unmodified_drivers/linux-2.6/platform-pci/platform-compat.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
index 8373056999..64bd7ca3ea 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
@@ -67,7 +67,7 @@ static int alloc_xen_irq(void)
spin_lock(&irq_alloc_lock);
- for (irq = 0; irq < ARRAY_SIZE(irq_evtchn); irq++) {
+ for (irq = 1; irq < ARRAY_SIZE(irq_evtchn); irq++) {
if (irq_evtchn[irq].inuse)
continue;
irq_evtchn[irq].inuse = 1;
diff --git a/unmodified_drivers/linux-2.6/platform-pci/platform-compat.c b/unmodified_drivers/linux-2.6/platform-pci/platform-compat.c
index 574b118754..2b35c5c757 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-compat.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-compat.c
@@ -12,11 +12,10 @@ static int system_state = 1;
EXPORT_SYMBOL(system_state);
#endif
-static inline void ctrl_alt_del(void)
+void ctrl_alt_del(void)
{
kill_proc(1, SIGINT, 1); /* interrupt init */
}
-EXPORT_SYMBOL(ctrl_alt_del);
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,8)
size_t strcspn(const char *s, const char *reject)