Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp195564ybs; Tue, 26 May 2020 07:04:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjA/5eK1J56bUCZKVy3Z2e33Ugrk2ki8vi8et9WB/fGcn9HoS2jWDxZC0LtCqqmgjsOI+9 X-Received: by 2002:a05:6402:1447:: with SMTP id d7mr20841267edx.367.1590501853281; Tue, 26 May 2020 07:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590501853; cv=none; d=google.com; s=arc-20160816; b=DEFMvRgKpTCCOanrRxYiPuB9xiortnQHXmdyWfTJWxRs4VGXSWZQFm+m81JU7+0q9q raWwuilNbCSd2PaUenlpC1ewEHL/d4J6CALLJvgZ08eMNaA/FW27CYGgUpPv7lsnw+N3 XAQGjfJ2G+yp6dIRl7VzJNRmnhfwgIoiwHEPWOMFVH5MAU0pfEIS8z59zDepQbpmayJ7 Uk7PKis+PE3HWQHQXmPkqjQL/TEQPeMpiPtQNUmyb1FTInOcwEYprO4n5hwX4RulKCz6 Vk5Iwz0JWWnOW3OPctPJQpkUzrPf55YyJ2VtsmyuEHTwuUcESI1MhLBv3C4WNVhmTAAl fz/g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QyJ5CjzXhC2dWjvMFVlDwxrqrka4k/R9Q6SPR9isVuk=; b=edxk2qaUUT1EfM0eGpbHpnw3417krHVNixn8enxTXBB+whRT1YVY3exbVauBNuH9LS ujO6Bf5Y7MbWepyQhTlG94aQZbIiQYsHNXVLIZ3OJn8yecmWS6NZUMU0GMM0wqjPoMzc cTR54+qdIlwH2XI7amIpLp9J0FmVOsKbIM/OB6bAxHWLyghQdZi9UkLvBDOHaKzOZi91 qKJ40fgAIBRbVkSu8zlpl7doK2mXV52UAWykFhzPdjExKKACVTrXdd88QNBUWVLBNq6k JP1eZ+u7phnJZQkc9SHSO6qIjv2/dglaDlSJLXfmZFFRBpuVSnRCo+ss0oUUGdaNTVuO 1FIw== 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 i18si11621725ejk.81.2020.05.26.07.03.47; Tue, 26 May 2020 07:04:13 -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 S2389023AbgEZNlV (ORCPT + 99 others); Tue, 26 May 2020 09:41:21 -0400 Received: from foss.arm.com ([217.140.110.172]:50990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388963AbgEZNlT (ORCPT ); Tue, 26 May 2020 09:41:19 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0A54555D; Tue, 26 May 2020 06:41:19 -0700 (PDT) Received: from melchizedek.cambridge.arm.com (melchizedek.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 86BD33F6C4; Tue, 26 May 2020 06:41:17 -0700 (PDT) From: James Morse To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , James Morse Subject: [PATCH v4 05/10] x86/resctrl: Include pid.h Date: Tue, 26 May 2020 14:40:54 +0100 Message-Id: <20200526134059.1690-6-james.morse@arm.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20200526134059.1690-1-james.morse@arm.com> References: <20200526134059.1690-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We are about to disturb the header soup. This header uses struct pid and struct pid_namespace. Include their header. Signed-off-by: James Morse Reviewed-by: Reinette Chatre --- include/linux/resctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h index daf5cf64c6a6..9b05af9b3e28 100644 --- a/include/linux/resctrl.h +++ b/include/linux/resctrl.h @@ -2,6 +2,8 @@ #ifndef _RESCTRL_H #define _RESCTRL_H +#include + #ifdef CONFIG_PROC_CPU_RESCTRL int proc_resctrl_show(struct seq_file *m, -- 2.19.1