Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2245636ybd; Mon, 24 Jun 2019 03:13:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwA45i6Wbdy3EJX0jPuNRVHIxiwJA/5qRk4Ob8q59xpI1UKbDBSNU5uOAxHhvyxs0Uurwni X-Received: by 2002:a63:4f07:: with SMTP id d7mr31366590pgb.77.1561371211433; Mon, 24 Jun 2019 03:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561371211; cv=none; d=google.com; s=arc-20160816; b=zjiunpcuER0fGb2sFDTd9XZx1Rwnk3JXkrMGPHCZvsLL/N4YuUIFVlcKN3JcfkBDIG HP+XQ2HN3ffu+ek2Q2i9EL9CO0JpdgBcVB/vrw4UHpQxzFTJTmpJr/M2E0bWOt2KSu7g J4XVgCfvNhnJkDVhJ0B1/Ksj5iCv/I4oODW0ZJYSlm0JLQaWzSaZ9NupA79POwYqD5Xv AUzBlUn3SD5aedTO/THJRNw/aoPkjjZBB6K78FoOM07eIVy+YcQJumigR/y2c7Usbn7l deNVlNN5d2CulS0HrspiFMR49uxaJrimi0LHff3bpERCWwKqIO/s4EX9MpV7PI1vb7A4 s8yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fGXImhUJMD5LUSkqNjLyXtLzIHZx7+2JcWqSQIHBoDA=; b=AL/gR5PeZkXL8JQNVS4ClGVXZitkL4exts5gFQgKlqw5GIN51UmUdPjjjMtBnB9RjB /gwxYsS1gxMU4+fdMolymFV6xAD0ms7pE7dMBosvaGRripACejBsYKxrEweSySEozNvr ddUaqpyDuzlmT39iWNuUqV7V/4zjqlYE5Sprm0Ybr9BxnUGworCU9OI1awgzxleF4w1d WReqBj+3OEW8IqFnmkRJ1RE//zK0sWl68cVso1VdnQ9iKLsj3SKl9b0nk+Ok14EzErba r8zxHO51yWVNFh4j94KGA1+dKoerVn+E+FTSHV9T4rJoHwyD2Kpu4p75BMYIeb0rvArc 8vtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wb0k19n8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si9503020pgv.132.2019.06.24.03.13.15; Mon, 24 Jun 2019 03:13:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wb0k19n8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730401AbfFXKM2 (ORCPT + 99 others); Mon, 24 Jun 2019 06:12:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:38026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730014AbfFXKFz (ORCPT ); Mon, 24 Jun 2019 06:05:55 -0400 Received: from localhost (f4.8f.5177.ip4.static.sl-reverse.com [119.81.143.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A02E42146F; Mon, 24 Jun 2019 10:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561370755; bh=SREwUm8J1kTp+qb9RpDj1Ff57Rw1vxR+PlbiFITmhdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wb0k19n8HkUdayeccepnIUOLQUxW8riA2y0MWV6rw4dKkTZwd84UF7AjEQvTvHriN mDpvIUhKowEnZc3oCEBR6xY6udl9KaqxbvqdZJhg672OUEZT5btqylvRJ8xu6NdMlf nKDkgr6T4/WeLox6glFhqJbTLo7ei2QY2s3FnO5I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anisse Astier , Will Deacon Subject: [PATCH 4.19 78/90] arm64: ssbd: explicitly depend on Date: Mon, 24 Jun 2019 17:57:08 +0800 Message-Id: <20190624092319.067481327@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092313.788773607@linuxfoundation.org> References: <20190624092313.788773607@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anisse Astier commit adeaa21a4b6954e878f3f7d1c5659ed9c1fe567a upstream. Fix ssbd.c which depends implicitly on asm/ptrace.h including linux/prctl.h (through for example linux/compat.h, then linux/time.h, linux/seqlock.h, linux/spinlock.h and linux/irqflags.h), and uses PR_SPEC* defines. This is an issue since we'll soon be removing the include from asm/ptrace.h. Fixes: 9cdc0108baa8 ("arm64: ssbd: Add prctl interface for per-thread mitigation") Cc: stable@vger.kernel.org Signed-off-by: Anisse Astier Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/ssbd.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/kernel/ssbd.c +++ b/arch/arm64/kernel/ssbd.c @@ -4,6 +4,7 @@ */ #include +#include #include #include