lkml.org 
[lkml]   [2010]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: BUG: null pointer deref in dmar_ir_support

    * Suresh Siddha <suresh.b.siddha@intel.com> wrote:

    > @@ -1640,8 +1640,10 @@ int __init APIC_init_uniprocessor(void)
    > }
    > #endif
    >
    > +#ifndef CONFIG_SMP
    > enable_IR_x2apic();
    > default_setup_apic_routing();
    > +#endif

    Instead of adding yet another ugly #ifdef please hide these details properly,
    by making enable_IR_x2apic() and default_setup_apic_routing() a NOP on !SMP.

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2010-04-02 20:23    [W:0.020 / U:0.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site