Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5493854imm; Tue, 26 Jun 2018 12:14:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKg9MJIi9o0FvAXxuz6Y6JvJjMIYtOoBTL0MlMp7c90izP48Pxdm1UMLxaH+ywO616i8yTG X-Received: by 2002:a17:902:8c95:: with SMTP id t21-v6mr2937445plo.306.1530040472979; Tue, 26 Jun 2018 12:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530040472; cv=none; d=google.com; s=arc-20160816; b=huQvGZPiHzug88s67vJzz0b9HmTjY5N/MnaUnGfV+cStSo5zvilcqwX54hYwVjS+xy LQcfRT0lbOyQpCJEtYiqAQep3inzty06d5rRgjpblToQarMyhYqyVlGgwg+ohbnzCrvT 3vBE+RcAH9naEnfq8zkSeQ8SXc+aZp7RWkmI5w94kDvQASFOyL3UTghYN/kZ0BdGg9yv V+YLZ7PNgK8AgsFaA9U2gMzgYudB2ZrAAP3Jq4b9JqhkplXHvht3qpKxBhBJzEXT3ih8 x3acybn4tYvKxCZoU/7h9qH+WRnMQ6bs83939Gh0v8TloE4PG7qXLj8xmVAZ67MNjX4L uUag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=pzPU7DPp3+jWcfQAkAfV1VtnksyGuWRRlBDNmzkAoeM=; b=pOSh2yUIZUeT2B3KNW9AnusnXa6PtW6OUnxWliIzlKRllZKpbIu0FTB7Oo3/CjqxdP xLq0QnCwjJpTesdYVSpjOTL9Fn/HAO7Pc5GPYzaWmvUPZnJx1sF4YLvWAoTUdANg+387 xtkxL7TCsDlaVtg6F8umMHZUS+p2dFXkrksxQ0W1tG/bGwlqO9FskhYGCcRM3NWz8IuR LVG2u95CTtPjNKupuwSjFOTQPFg5T6kHL1I9XcHVBQZpDExifsqB37h4qPu6sqkyYe3P lxvGM3iakaU1VpLZnL+cbc32sk/DAUwO+lvAAlPlUfRyGXHedVO7XGV971sof74Twpf5 Z56Q== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w66-v6si2308060pfj.144.2018.06.26.12.14.18; Tue, 26 Jun 2018 12:14:32 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754991AbeFZShD (ORCPT + 99 others); Tue, 26 Jun 2018 14:37:03 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49352 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752888AbeFZSgR (ORCPT ); Tue, 26 Jun 2018 14:36:17 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A445F7A7E8; Tue, 26 Jun 2018 18:36:16 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-116-227.ams2.redhat.com [10.36.116.227]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7ED20111763E; Tue, 26 Jun 2018 18:36:15 +0000 (UTC) From: Hans de Goede To: Bartlomiej Zolnierkiewicz , Petr Mladek , Sergey Senozhatsky Cc: Hans de Goede , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Steven Rostedt , linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] printk: Export is_console_locked Date: Tue, 26 Jun 2018 20:36:10 +0200 Message-Id: <20180626183612.321-2-hdegoede@redhat.com> In-Reply-To: <20180626183612.321-1-hdegoede@redhat.com> References: <20180626183612.321-1-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 26 Jun 2018 18:36:16 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 26 Jun 2018 18:36:16 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'hdegoede@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a preparation patch for adding a number of WARN_CONSOLE_UNLOCKED() calls to the fbcon code, which may be built as a module (event though usually it is not). Reviewed-by: Daniel Vetter Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patchset --- kernel/printk/printk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 247808333ba4..3f041e7cbfc9 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2243,6 +2243,7 @@ int is_console_locked(void) { return console_locked; } +EXPORT_SYMBOL(is_console_locked); /* * Check if we have any console that is capable of printing while cpu is -- 2.17.1