Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp583652rdb; Thu, 21 Dec 2023 20:58:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGq+RFE4vNpWeKIbDrwJCpnkXyKNtXfVyMmvaUrCcgTdMoZoUZHPGh/TvhFlB9n5FkVwQb X-Received: by 2002:a05:6a21:78a7:b0:195:3b7f:f902 with SMTP id bf39-20020a056a2178a700b001953b7ff902mr173517pzc.35.1703221117702; Thu, 21 Dec 2023 20:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703221117; cv=none; d=google.com; s=arc-20160816; b=JOWhOnhpa2a8hWDD1QxsXBe3PvT8zCptY4kWJofQx/RqTG/OytbUCHidDRDxzCR81a oVMA7DaxthbpVoj1rWkYz58WdcReZS1pvKV6GwSUICcIhD4vBUWne6FwV7ccvYVmCv3b xMp9oI7tCq1hpIaIxtvFG74HMxCstz2A8x1ThwmC03RtJgFCRczOnr1YugJMP+uassTE p05Myu0rLkLGd5GNgaX8vO40OwJQulhhfCkIeE6DwTeuiw9B/bElsyC9h1i2UaMvQrZJ J9L8GIuXdQjUcs09YvesjcYjY099BWMtj6DFLmEs+F6UIM6bMASrxULacVfUTBoeO66K 8R9Q== ARC-Message-Signature: i=1; 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=fCSM/xbXg41FRfHNUILYTv5XhyXDuX5hUzcGjOUJb1U=; fh=mMTRWd6xAoeVHaeozeBzkzjVLK2T0I8YpH2xzXaLV+w=; b=zNHIwyDUzPt3M3XQPX3krLWJw7Ln7GONPBYGDMFDdjUzrK8eE/o/1zVZ1tc9J37Bk+ adNHo1FcoXFYvLXJA+NGINBhKtEYUxVskz2L9szqTgMfc0+/jINTUKe5N9hXmiqGSRP2 Cy1RZZisMQK7G9LVtgz7DaMd/ph/8yJL/2zNv1UcvjUFWeUwyTUhrI7qa+VRwrDSk7RE xftf6B9Iy6uzOO0e8QZrOuq10gvobh8oVRaNV2mtirNsYsFDjwTIFKEcToMxdkNg/r5b ERseR0KNIp8gFqO0K3CxUTvLrxSjzUT0fRIqlfDZ2gfY92t7lWk3TJd9WSNeQmOAXyFZ iVvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=JW29o6h7; spf=pass (google.com: domain of linux-kernel+bounces-9354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9354-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e3-20020a63d943000000b005bda77217eesi2706527pgj.209.2023.12.21.20.58.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 20:58:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=JW29o6h7; spf=pass (google.com: domain of linux-kernel+bounces-9354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9354-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6245428417A for ; Fri, 22 Dec 2023 04:58:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3A0F539F; Fri, 22 Dec 2023 04:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="JW29o6h7" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C605523D8; Fri, 22 Dec 2023 04:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=fCSM/xbXg41FRfHNUILYTv5XhyXDuX5hUzcGjOUJb1U=; b=JW29o6h7DCzdPnq/UvZWGf0APD 7lTkLiEDSM+kLsJF1vt0E7A6omO1ElVQlKKk/jUNJ3KNCcBg0zP7RWX1sGbdGoKMrhjkfCRON6Re+ 3y42dysYyFgtMTCOGiJm/3lquOuEFAOCNtQ/MhOKzJ4qdmek1YobmnmVtvvFXcQ3q9wc9cOYcEu9L 9Bi+ow6sXX/eab0wistbLEA0QsJxLrQu9kn2AniycGslicVCcXxz4d5cYma6hRTeuZjGbui+wTO2Z SgtZPyJMn2yb9vsMX6rj4ip4G0IDXXyOPHmYAwZhO+7gTL+lv/a5mVe/c9Xo10EBdIDhHo6cDjt82 Jd7QqvKQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGXcA-004v1T-1a; Fri, 22 Dec 2023 04:58:26 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, Kent Overstreet Subject: [PATCH v3] LoongArch: signal.c: add header file to fix build error Date: Thu, 21 Dec 2023 20:58:25 -0800 Message-ID: <20231222045825.14732-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.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 loongarch's signal.c uses rseq_signal_deliver() so it should pull in the appropriate header to prevent a build error: ../arch/loongarch/kernel/signal.c: In function 'handle_signal': ../arch/loongarch/kernel/signal.c:1034:9: error: implicit declaration of function 'rseq_signal_deliver' [-Werror=implicit-function-declaration] 1034 | rseq_signal_deliver(ksig, regs); | ^~~~~~~~~~~~~~~~~~~ Fixes: b74baf4ad05b ("LoongArch: Add signal handling support") Signed-off-by: Randy Dunlap Cc: Huacai Chen Cc: WANG Xuerui Cc: loongarch@lists.linux.dev Cc: Kent Overstreet --- v2: repair Cc: list v3: use Kent's @linux.dev email address arch/loongarch/kernel/signal.c | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/loongarch/kernel/signal.c b/arch/loongarch/kernel/signal.c --- a/arch/loongarch/kernel/signal.c +++ b/arch/loongarch/kernel/signal.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include