From patchwork Tue Feb 4 12:35:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 213228 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85442C2D0B1 for ; Tue, 4 Feb 2020 12:35:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 654CC2084E for ; Tue, 4 Feb 2020 12:35:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727253AbgBDMfP (ORCPT ); Tue, 4 Feb 2020 07:35:15 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:33522 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbgBDMfO (ORCPT ); Tue, 4 Feb 2020 07:35:14 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1iyxQ8-0004vS-Q1; Tue, 04 Feb 2020 13:35:12 +0100 Date: Tue, 4 Feb 2020 13:35:12 +0100 From: Sebastian Andrzej Siewior To: LKML Cc: linux-rt-users , Steven Rostedt , Thomas Gleixner Subject: [PATCH RT] locallock: Include header for the `current' macro Message-ID: <20200204123512.bz2ehpcgtzev5fpb@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org Include the header for `current' macro so that CONFIG_KERNEL_HEADER_TEST=y passes. Signed-off-by: Sebastian Andrzej Siewior --- include/linux/locallock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/locallock.h b/include/linux/locallock.h index 05a15110c8aa7..9b6b4def52d49 100644 --- a/include/linux/locallock.h +++ b/include/linux/locallock.h @@ -3,6 +3,7 @@ #include #include +#include #ifdef CONFIG_PREEMPT_RT