lkml.org 
[lkml]   [2023]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[patch V3 38/60] x86/apic/uv: Get rid of wrapper callbacks
    Date
    Why on earth makes a wrapper around some common function sense? Just to be
    able to slap some vendor name on it...

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    ---
    arch/x86/kernel/apic/x2apic_uv_x.c | 7 +------
    1 file changed, 1 insertion(+), 6 deletions(-)

    --- a/arch/x86/kernel/apic/x2apic_uv_x.c
    +++ b/arch/x86/kernel/apic/x2apic_uv_x.c
    @@ -783,11 +783,6 @@ static int uv_apic_id_valid(u32 apicid)
    return 1;
    }

    -static u32 apic_uv_calc_apicid(unsigned int cpu)
    -{
    - return apic_default_calc_apicid(cpu);
    -}
    -
    static unsigned int x2apic_get_apic_id(unsigned long id)
    {
    return id;
    @@ -838,7 +833,7 @@ static struct apic apic_x2apic_uv_x __ro
    .get_apic_id = x2apic_get_apic_id,
    .set_apic_id = set_apic_id,

    - .calc_dest_apicid = apic_uv_calc_apicid,
    + .calc_dest_apicid = apic_default_calc_apicid,

    .send_IPI = uv_send_IPI_one,
    .send_IPI_mask = uv_send_IPI_mask,
    \
     
     \ /
      Last update: 2023-08-01 12:51    [W:4.385 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site