From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DA67C0015E for ; Tue, 1 Aug 2023 10:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232775AbjHAKuy (ORCPT ); Tue, 1 Aug 2023 06:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234164AbjHAKuO (ORCPT ); Tue, 1 Aug 2023 06:50:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8011A26A1 for ; Tue, 1 Aug 2023 03:48:14 -0700 (PDT) Message-ID: <20230801103817.241792953@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690886848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=uHpiyIwnqkWBnjjWfT4MmD20MOeZo84Wu6JyGvenGyY=; b=SG+X5mlbJnOXiGx2gZKqTfQbTRbSUmwaAgesSjIWvPs5MNKdilDh/shBuO47Zw+7hO6hUl M7jfGjKJwEr/ehNvq7wYpg3FpmCBGoKeOtw3XH767mpHyadAp1LDq/m4YDHUqAjEMBkQTO 1+hubfM4slz5vJSm1raxiYh4jCYnfk/y+Len0b8/qc1EHV98CTlxi/AYirRHk2EXIFIBGz 0Whf+DKmQ4nS6xHe4VBX5ceWy/tKQRS6C1f4rPWRiFWyluEEmZcCn/nHgjynojKnG/Qx9u EgGViXxgWd75A+P35JZyyIHMZ9pn/yGD35ZkE5jrE8hTd+UKtcc2I4q30D0BeQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690886848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=uHpiyIwnqkWBnjjWfT4MmD20MOeZo84Wu6JyGvenGyY=; b=yl1bJg4zPYMaPphoMzr1CrxxtVLFqsXQufoew48WbsOUkCoF0t+dHhkSu0wHIuylmTOWoL GvmAZ2tL4PbS7RBw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Andrew Cooper , Tom Lendacky , Paolo Bonzini , Wei Liu , Arjan van de Ven , Juergen Gross , Michael Kelley , Peter Keresztes Schmidt , "Peter Zijlstra (Intel)" Subject: [patch V3 38/60] x86/apic/uv: Get rid of wrapper callbacks References: <20230801103042.936020332@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 1 Aug 2023 12:47:28 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Peter Zijlstra (Intel) --- 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,