lkml.org 
[lkml]   [2004]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [PATCH] Staircase 7.1 for 2.6.7-mm1
    Date
    diff -urpN linux-2.6.7-old/arch/i386/kernel/mpparse.c linux-2.6.7/arch/i386/kernel/mpparse.c
    --- linux-2.6.7-old/arch/i386/kernel/mpparse.c 2004-06-22 21:40:01.608433040 -0700
    +++ linux-2.6.7/arch/i386/kernel/mpparse.c 2004-06-22 21:43:20.943129560 -0700
    @@ -1017,7 +1017,6 @@ void __init mp_config_acpi_legacy_irqs (

    for (idx = 0; idx < mp_irq_entries; idx++)
    if (mp_irqs[idx].mpc_srcbus == MP_ISA_BUS &&
    - (mp_irqs[idx].mpc_dstapic == ioapic) &&
    (mp_irqs[idx].mpc_srcbusirq == i ||
    mp_irqs[idx].mpc_dstirq == i))
    break;
    diff -urpN linux-2.6.7-old/arch/x86_64/kernel/mpparse.c linux-2.6.7/arch/x86_64/kernel/mpparse.c
    --- linux-2.6.7-old/arch/x86_64/kernel/mpparse.c 2004-06-22 21:40:09.816185272 -0700
    +++ linux-2.6.7/arch/x86_64/kernel/mpparse.c 2004-06-22 21:43:38.899399792 -0700
    @@ -861,7 +861,6 @@ void __init mp_config_acpi_legacy_irqs (

    for (idx = 0; idx < mp_irq_entries; idx++)
    if (mp_irqs[idx].mpc_srcbus == MP_ISA_BUS &&
    - (mp_irqs[idx].mpc_dstapic == intsrc.mpc_dstapic) &&
    (mp_irqs[idx].mpc_srcbusirq == i ||
    mp_irqs[idx].mpc_dstirq == i))
    break;
    diff -urpN linux-2.6.7-old/include/linux/kernel.h linux-2.6.7/include/linux/kernel.h
    --- linux-2.6.7-old/include/linux/kernel.h 2004-06-22 21:40:40.858466128 -0700
    +++ linux-2.6.7/include/linux/kernel.h 2004-06-22 21:44:00.644094096 -0700
    @@ -55,7 +55,12 @@ void __might_sleep(char *file, int line)
    #endif

    #define abs(x) ({ \
    - typeof(x) __x = (x); \
    + int __x = (x); \
    + (__x < 0) ? -__x : __x; \
    + })
    +
    +#define labs(x) ({ \
    + long __x = (x); \
    (__x < 0) ? -__x : __x; \
    })
    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.044 / U:31.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site