mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
PV-on-HVM: Fixes for module loading.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
fc91db2baf
commit
30fbfa471f
3 files changed
+2
-4
No files matched your search
@@ -617,7 +617,6 @@ int __devinit gnttab_init(void)
|
||||
gnttab_free_count = nr_init_grefs - NR_RESERVED_ENTRIES;
|
||||
gnttab_free_head = NR_RESERVED_ENTRIES;
|
||||
|
||||
printk("Grant table initialized\n");
|
||||
return 0;
|
||||
|
||||
ini_nomem:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||