Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp456181lqz; Sat, 30 Mar 2024 04:13:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWB8X8QdUhUMaiP3OwrTCCcWjzXVUQ4XE8FxSr7LPMSshMoWipwjsmrxbhNBw2v2lVYJDLkA7gzQhgKV9ImPOCQa6BJmxI1DvTl0oGDTA== X-Google-Smtp-Source: AGHT+IFRVRdA0I9BXxgYe1Z5SlRDRd46EOprWNruQF85htke1er/NAVHjZjuO9QzUsmVlfdLawqG X-Received: by 2002:a17:906:c2ce:b0:a46:4d76:106b with SMTP id ch14-20020a170906c2ce00b00a464d76106bmr3099901ejb.34.1711797216584; Sat, 30 Mar 2024 04:13:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711797216; cv=pass; d=google.com; s=arc-20160816; b=mblqwPnYRnkwbiV//mE+lntCnxaLAWFEwXsadr/7dYcVK3wAD2/SgVY1cUUPRrLu/+ sgkHwDuAWbuPMNJ607P3asc0EfZSsHtQOdbnL8yt9l0BF76YqXxhkF/+PzrlAsUzYT51 HzM3p/a59GHzKwDIRsFAqOeMPTvDaVy9BgSKa92An1lZglc23Y5UCe6srieQF2YVu5vz a3pY1flHPGwCF2QrQwUn4QVTqqWrSMpwqhQzOpKWTlQ1I2XaEEdkJUHyzYgA3TTTratO Wjp3toFVBcSZudCPN9alRlaZGBUjhaqaOfhB6G4Mw4TrQS5KgxUlGormN5ET2E0y4frq 28cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qGpbD78cy/B/Wyutkg4e7jIuut8zfsGFclJfJk2FLE0=; fh=8Q2OG2/A79qtYrFEsXGNtZSe3AJxM5wqCsmu7B1o6ao=; b=DCd8E0lAobPxjsouwl9VKNbnITQ7jeNvBUKaGwqLBjSGr6rESKctJQU46tsz1Orypt BSX9r/+zmKBGwFi3myuUzlBuscnV1AY0MJOwlOKMNoNLVU3oEbVQuVTN8zodCuvCmCNk Vv1BtgMlqm2OyN0WAtd+sSb8SftaULiYgvkt/Mf9smgZQfZrteatDTfqsiEQpSH+8lpA 9TL7Y+5ItHfBdGR1ASuaw/zEPYs2uOZdQ/DzUfrU+brB4S3l5x6Ewo/nwOGZn65q7cHB hh5y6avx3wSLCUYm4mw5RZCKqKxRx9tJEwsJCa8XCQc2aCb4NrfBq8fgpw7+Lz6/TbSB hP1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eHC+QdJd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p27-20020a17090628db00b00a4696769453si2649963ejd.301.2024.03.30.04.13.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 04:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eHC+QdJd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 51D401F22167 for ; Sat, 30 Mar 2024 11:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 263BB2BB0A; Sat, 30 Mar 2024 11:13:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eHC+QdJd" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F50C17745 for ; Sat, 30 Mar 2024 11:13:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711797210; cv=none; b=bYvvjkwdPX4SQ5Wu70fGGTfejSNRuGwEh5kVS2rKQ5vdL3Ev8cazhOJFOKvDeDIVzM66QcRrJ5G+bpnIx2ovUwPt6QfApMrOeJss+86MTXja4k5rEaSKBEMmbtQt8TtRsDkGvx9e86lw9mop65a0LvflGt01nkV90oCKitCU/v0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711797210; c=relaxed/simple; bh=ueQEYRowh1BG76XkysAtD6hzJ57Be1g4QyrGkEtHUFA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kIxJaylN6GvV45iVxq0HQN77JU+viJTaCy6vH9ZI5o0rwC0TA43gR7sMYaZGSjG24nYNZ38Kcl1zF1iKOiZYB3YbfbjoHKXFywNJ6r221218BR0+QdRlUkxPDe3k8hzyIYzyrcdOHPoKBwV0i7ZQjSBI43biOijSelBaEhzCKG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eHC+QdJd; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4155bdc0bc5so722335e9.3 for ; Sat, 30 Mar 2024 04:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711797206; x=1712402006; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qGpbD78cy/B/Wyutkg4e7jIuut8zfsGFclJfJk2FLE0=; b=eHC+QdJdAWhT9JBj+jZ2RYhdaAgwBuSWa4VTE/fuLfHnBR/IrNf1qpNIn44ThHJ1SP LlPJdpkvtEQ/Agy8F6x1LI9d1BP/1WDgrE2AUuDveoaMmfzRpaOqNY5jQ5T3lg2H77ZY lQPRYdj9e+f41ggucXqCXLwM3icY5UmGH04bn3354wwUeV/ezCvEF2+aj6sE4cRWf0wv zOc/rfLC6Nr1HPhJxg373Eim1LAEhSsnOM08yi1aXkiZj2CBwon+Mu6xgfjyCH2fXfMt +pM2gjlojFrs2D5LD79/WTA22JTZLlWlmzod6pKEno0CJXC8HzUka6ToxHYmzpS6c/Pa Bzsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711797206; x=1712402006; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qGpbD78cy/B/Wyutkg4e7jIuut8zfsGFclJfJk2FLE0=; b=qpkdJunDBNqKeCuexdYIBlF43HaD4asx/VBt0lS3CvQkUBw2bZvBPngEVF9qOTFLp6 ff7Fk5KH3+BsDNt2kvYSHTBWzL4fnaoUrayfd7vCwT1GoVxl7Pam9yA5ROE4KfwFg8Fc 3iiqKxFLoTIEKNK61dcnKj0mxgXkwKLyVqG4/+yW3L4otJbAUJt9DcKV91uimcgsxa+7 XM7qyqCaV10s9iuvGEUyYL4kA5Zqn54Hd21rJzRmzwXArDrpqRdey8euN2KgNo4JLHj5 M7+23lWTj0V1LBimCPCQr4ixCKkJQf4aFHIqdIC0xzgqfZCWbeewP4CSrd8jG3D5jYZz rmYw== X-Gm-Message-State: AOJu0YyTLV8auJs5he26wgniQZ12I5vFuf2JtdZ1EO0d5sari1CjUgIg 0ToWDX/5YLJsXdI17A0/SH44X65djb3sEQhYE/CZzbaOTwoeBYzL9EW4MHa8h/w= X-Received: by 2002:a05:600c:b55:b0:414:73c7:a8d8 with SMTP id k21-20020a05600c0b5500b0041473c7a8d8mr3340049wmr.24.1711797205724; Sat, 30 Mar 2024 04:13:25 -0700 (PDT) Received: from localhost (cpc1-brnt4-2-0-cust862.4-2.cable.virginm.net. [86.9.131.95]) by smtp.gmail.com with ESMTPSA id k33-20020a05600c1ca100b0041409cabb39sm11280288wms.18.2024.03.30.04.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 04:13:24 -0700 (PDT) From: Stafford Horne To: LKML Cc: Stafford Horne , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , linux-riscv@lists.infradead.org Subject: [PATCH v2] riscv: Remove unused asm/signal.h file Date: Sat, 30 Mar 2024 11:13:05 +0000 Message-ID: <20240330111308.2053965-1-shorne@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit When riscv moved to common entry the definition and usage of do_work_pending was removed. This unused header file remains. Remove the header file as it is not used. I have tested compiling the kernel with this patch applied and saw no issues. Noticed when auditing how different ports handle signals related to saving FPU state. Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry") Signed-off-by: Stafford Horne Reviewed-by: Guo Ren --- Resending with reviewed-by. arch/riscv/include/asm/signal.h | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 arch/riscv/include/asm/signal.h diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h deleted file mode 100644 index 956ae0a01bad..000000000000 --- a/arch/riscv/include/asm/signal.h +++ /dev/null @@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_SIGNAL_H -#define __ASM_SIGNAL_H - -#include -#include - -asmlinkage __visible -void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags); - -#endif -- 2.44.0