Re: compile error for Opteron CPU with kernel 2.6.0-test2

Andrew de Quincey
2003-08-01T14:36:37Z

> OK, I'd be doing this:
>
> arch/x86_64/kernel/mpparse.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletion(-)
>
> diff -puN arch/x86_64/kernel/mpparse.c~nforce2-acpi-fixes-fix
> arch/x86_64/kernel/mpparse.c ---
> 25/arch/x86_64/kernel/mpparse.c~nforce2-acpi-fixes-fix 2003-07-31
> 21:18:45.000000000 -0700 +++
> 25-akpm/arch/x86_64/kernel/mpparse.c 2003-07-31 21:18:59.000000000 -0700 @@
> -896,7 +896,8 @@ void __init mp_parse_prt (void)
>
> /* Need to get irq for dynamic entry */
> if (entry->link.handle) {
> - irq = acpi_pci_link_get_irq(entry->link.handle, entry->link.index);
> + irq = acpi_pci_link_get_irq(entry->link.handle,
> + entry->link.index, NULL, NULL);
> if (!irq)
> continue;
> }
>
> _

Great, thanks very much.