mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix boot crash on VIA systems
@ 2004-11-17  9:57 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2004-11-17  9:57 UTC (permalink / raw)
  To: torvalds, akpm, linux-kernel


quirk_via_irqpic cannot be __devinit because it runs at
pci_enable_device() time now.

This fixes a boot time crash on a VIA x86-64 machine.

Signed-off-by: Andi Kleen <ak@suse.de>

Index: linux/drivers/pci/quirks.c
===================================================================
--- linux.orig/drivers/pci/quirks.c	2004-11-15 12:34:41.%N +0100
+++ linux/drivers/pci/quirks.c	2004-11-17 10:25:24.%N +0100
@@ -479,7 +479,7 @@
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA,	PCI_DEVICE_ID_VIA_82C586_3,	quirk_via_acpi );
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA,	PCI_DEVICE_ID_VIA_82C686_4,	quirk_via_acpi );
 
-static void __devinit quirk_via_irqpic(struct pci_dev *dev)
+static void quirk_via_irqpic(struct pci_dev *dev)
 {
 	u8 irq, new_irq = dev->irq & 0xf;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-17 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17  9:57 [PATCH] Fix boot crash on VIA systems Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®