Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2250307ybd; Mon, 24 Jun 2019 03:18:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzck3rhwvc2JDbUZ02SEjFwUM5Eo7iHbt69fKz1GdR5PLbcVnIObyLGjovSFcQ4D9XUw5/V X-Received: by 2002:a17:902:20b:: with SMTP id 11mr14460167plc.78.1561371500579; Mon, 24 Jun 2019 03:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561371500; cv=none; d=google.com; s=arc-20160816; b=l+Y4GSBbOfF73FTJ0u+7kk/Wy1mphp34lfBuWGbGBmBRdQfChEMDOmr79H1VLB0sZF qqVvlugCbxnxNr91w/lHUpM66phKeYqhb0icp/c7yaYi+SEf42T9b6TsYU+r+UauCzP9 IsNXSP5l6adMkZwwkll2Uul7VBHp+lskIfmnmmeI0ZL16+Gpbf4ZXPrmidQJ6WjkOKuM KuU3FhO35J2q7K1KoekoI3zGZXDyQd14Z3wFmtxzV4KAryMoLf9ldxOZAYUpqH/O1zhO D9pI9x0s+7E7ztNerd9s+jnpoJf6qKHKeDRAfhrQwHkXSwsF4+K4E6SNlvly8xw92HJt ZPTA== 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=6fI2kdL6Aygei0UUOVCb0Wg409qByAoaAEa1lv0798Y=; b=l+HRax9qwlW2NdTTvz7AoBSyxiKqs7RNIaKYLmof4LK29oiejaaFSR73qWYht3uKQG qIm46xCuN4KUvEhBisYYtPgezjzYb7Y1o24vn6dPFJ+MpeoG21V/tYPXGPamcokHqEW8 VwmsLOzk1KSds79eALSq5swX3IBgoB4RkvL5BqIqueD08LV3acE3Z2ttEDjcBY5Gj4nk gfMX7OIxW9ulMZ6iNOUjcKMSh+bOHedhmKWYX87pRcO5ON0/HMHVraKZBbfJCVN2VNHR 9SrfkwiUw+NbuJngzWbQxEXEJS20U5L888fFrv0HsA5Ym0ECZ3xhyffj56OjTLAAu11X CRtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="fCV/wNUO"; 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 t14si10446202pgc.90.2019.06.24.03.18.03; Mon, 24 Jun 2019 03:18:20 -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="fCV/wNUO"; 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 S1730963AbfFXKRY (ORCPT + 99 others); Mon, 24 Jun 2019 06:17:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:54998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730937AbfFXKRV (ORCPT ); Mon, 24 Jun 2019 06:17:21 -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 7DB822089F; Mon, 24 Jun 2019 10:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371441; bh=ywxrxoFTOsh/Ojn1ACIcc0LeWwbqwSqBK72Jfd6p7i0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fCV/wNUOAEZkxt1yrN7igJPViS8kgJPab414heSqI5ja88Exw9j6HHtBif8D/Kiq3 KUWG9Cfs8RPKtmAlHi2C5aqdEBIpiU0mLNPj5JUlE3ZG2U/2KW48FbktI7pAl3OSlh VFc9iRTTg3J71XDEvOWiby9pMq3Mjpdv6+PmdFwQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anisse Astier , Will Deacon Subject: [PATCH 5.1 103/121] arm64: ssbd: explicitly depend on Date: Mon, 24 Jun 2019 17:57:15 +0800 Message-Id: <20190624092325.971109924@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092320.652599624@linuxfoundation.org> References: <20190624092320.652599624@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 @@ -5,6 +5,7 @@ #include #include +#include #include #include #include