* [Linux-ia64] ACPI fix for no PCI
@ 2003-03-06 0:20 Jesse Barnes
0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2003-03-06 0:20 UTC (permalink / raw)
To: linux-ia64
Andy Grover told me this should be posted here. It allows ACPI to
compile even with PCI turned off. Patch against 2.5.60.
Thanks,
Jesse
diff -Naur -X /usr/people/jbarnes/dontdiff linux-2.5.60-ia64-sn/arch/ia64/kernel/acpi.c work-sn2/arch/ia64/kernel/acpi.c
--- linux-2.5.60-ia64-sn/arch/ia64/kernel/acpi.c Mon Feb 24 12:27:12 2003
+++ work-sn2/arch/ia64/kernel/acpi.c Sat Mar 1 12:38:05 2003
@@ -825,6 +825,7 @@
/* --------------------------------------------------------------------------
PCI Interrupt Routing
-------------------------------------------------------------------------- */
+#ifdef CONFIG_PCI
int __init
acpi_get_prt (struct pci_vector_struct **vectors, int *count)
@@ -866,7 +867,7 @@
*count = acpi_prt.count;
return 0;
}
-
+#endif
/* Assume IA64 always use I/O SAPIC */
int __init
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-06 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-06 0:20 [Linux-ia64] ACPI fix for no PCI Jesse Barnes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.