lkml.org 
[lkml]   [2016]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH V4 1/3] ACPI, PCI, IRQ: assign ISA IRQ directly during early boot stages
    From
    Date
    On 10/20/2016 5:39 PM, Rafael J. Wysocki wrote:
    >> @@ -871,7 +871,7 @@ static int __init acpi_irq_penalty_update(char *str, int used)
    >> > void acpi_penalize_isa_irq(int irq, int active)
    >> > {
    >> > if ((irq >= 0) && (irq < ARRAY_SIZE(acpi_isa_irq_penalty)))
    >> > - acpi_isa_irq_penalty[irq] = acpi_irq_get_penalty(irq) +
    >> > + acpi_isa_irq_penalty[irq] = acpi_isa_irq_penalty[irq] +
    > This looks slightly odd. What about
    >
    > + acpi_isa_irq_penalty[irq] +=
    >
    >> > (active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING);
    >> > }

    Makes sense.

    --
    Sinan Kaya
    Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
    Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

    \
     
     \ /
      Last update: 2016-10-24 05:50    [W:2.151 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site