Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1665649pxa; Thu, 6 Aug 2020 12:52:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfBBr3ZOcWbP95Ho6rJniDITCtSZfOC6pcSezaYj/99gXD7DUqj7jjiOSkOKms+S6zJ6n2 X-Received: by 2002:a17:906:f191:: with SMTP id gs17mr6122680ejb.145.1596743526594; Thu, 06 Aug 2020 12:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596743526; cv=none; d=google.com; s=arc-20160816; b=YVRk8w43p06cc7huTpyvbgXjK7vqKZpr+P8UQNPf/HxEzEKzsQ8rBOU74UNPZ+3RSG TD6HzfyzwfujVIFrJFugS5pBk1hJplq51Y5tf8nKoMP+gTravLFU2Meofrv0f3WC+zSQ SQqpGSgHSfElO7b7oiv9k3HpcMYLM7N3QbjvwEa7EzyjbYiVr6+/cJwD4A4grSmMm5g7 2mIttKN9cJa59nrrpy/qChP47LHBe417yh/SmFH8Nw3DfksYxSjNjqCbYrUD8Dgl45Bb kfnk74jBAFS9JfBGPm+s4EuBOf3X5NDZPSr1I0YCOydV00YvspLhL1TnFemAcWLOeNOj KDmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id; bh=JOt0lJrcxslCpMHX4eSgTGOf8A45m/7Lxrh0OUkfelo=; b=SmWxP8w1h27GmXBl4Vrx5V9fa0YznlJ80Ol0UPRJsGwVC4SqWYxyVo7RVbd1ojxwek JoyliMY9ofovtzxyqeN7AGeiwjIGrv7TIqg+GM1JXCb3hOo4tCvFZOZC/580YGN4VUln XsoggwIyp7yuSzaS6uzVrqng+Sb0emVr+CUSxqPQRA536+HS5TB2oNHJweZR5Ul3s4PQ xLv2EOKv4seDgQoQpX32yMpvF93gQRE8EwVg2HV20I6QvYlsuXrrnUIqmDMy+ncNb7ZA sVUqCwsver+nRCIxGzstvMfVGWczIB3xHPn+/4VjXJkVvXlf4SxrbMTFoYxoNh11XsV8 VxMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si3652775ejr.354.2020.08.06.12.51.43; Thu, 06 Aug 2020 12:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726240AbgHFTvK (ORCPT + 99 others); Thu, 6 Aug 2020 15:51:10 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:64329 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbgHFTvH (ORCPT ); Thu, 6 Aug 2020 15:51:07 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4BMndF4Cq3zB09ZQ; Thu, 6 Aug 2020 14:20:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id viDHCb0dqpmM; Thu, 6 Aug 2020 14:20:33 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4BMndF3FnXzB09ZL; Thu, 6 Aug 2020 14:20:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 3A0C88B80D; Thu, 6 Aug 2020 14:20:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id eafrqRz1HQM5; Thu, 6 Aug 2020 14:20:35 +0200 (CEST) Received: from po16052vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.230.102]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D6ACF8B7FC; Thu, 6 Aug 2020 14:20:34 +0200 (CEST) Received: by po16052vm.idsi0.si.c-s.fr (Postfix, from userid 0) id C00ED65BEB; Thu, 6 Aug 2020 12:20:34 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH 1/2] powerpc/fpu: Drop cvt_fd() and cvt_df() To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 6 Aug 2020 12:20:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those two functions have been unused since commit identified below. Drop them. Fixes: 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults") Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/processor.h | 2 -- arch/powerpc/kernel/fpu.S | 15 --------------- 2 files changed, 17 deletions(-) diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 5c20b6d509ae..9ebcb2f095db 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -425,8 +425,6 @@ extern void flush_instruction_cache(void); extern void hard_reset_now(void); extern void poweroff_now(void); extern int fix_alignment(struct pt_regs *); -extern void cvt_fd(float *from, double *to); -extern void cvt_df(double *from, float *to); extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); #ifdef CONFIG_PPC64 diff --git a/arch/powerpc/kernel/fpu.S b/arch/powerpc/kernel/fpu.S index 4ae39db70044..825893d4cb59 100644 --- a/arch/powerpc/kernel/fpu.S +++ b/arch/powerpc/kernel/fpu.S @@ -134,18 +134,3 @@ _GLOBAL(save_fpu) mffs fr0 stfd fr0,FPSTATE_FPSCR(r6) blr - -/* - * These are used in the alignment trap handler when emulating - * single-precision loads and stores. - */ - -_GLOBAL(cvt_fd) - lfs 0,0(r3) - stfd 0,0(r4) - blr - -_GLOBAL(cvt_df) - lfd 0,0(r3) - stfs 0,0(r4) - blr -- 2.25.0