lkml.org 
[lkml]   [2003]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: compile error for Opteron CPU with kernel 2.6.0-test2
    Michael Bakos <bakhos@msi.umn.edu> wrote:
    >
    > that patch did fix the cpumask_t problem, however another one is present
    >
    > CC arch/x86_64/kernel/mpparse.o
    > arch/x86_64/kernel/mpparse.c: In function `mp_parse_prt':
    > arch/x86_64/kernel/mpparse.c:899: error: too few arguments to function
    > `acpi_pci_link_get_irq'
    > make[1]: *** [arch/x86_64/kernel/mpparse.o] Error 1
    > make: *** [arch/x86_64/kernel] Error 2

    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;
    }
    _

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:0.027 / U:216.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site