Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7484934imm; Thu, 28 Jun 2018 04:42:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL1QILygxLX5V/XWG7smuBhs9LDFBDXEMdiqT2xfQJyVJcvVycUAOYb0W9PJLyca96+8EZn X-Received: by 2002:a63:541:: with SMTP id 62-v6mr8456333pgf.368.1530186156181; Thu, 28 Jun 2018 04:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530186156; cv=none; d=google.com; s=arc-20160816; b=M3WKhtk0I1zr/U7+pNnqHc/HWSsxoJABeZjUaYZj3Z7lkEngJ+JCXwrjrZLe9HB/1e bAZIOGKDotPG1i7hTE9XW2vfSU7DHVtZBveEd9V1GZPHkpLqnCFFKvHQWOyr9KPGzffR fpqK5I8kCmKaBA5stnwhm6CQvj8VmUY9xTWG2dFz1B7zpbHbo2AyoAy7UtICLgRz9/2Z I2IiZ9tphpRZoP7qCV3WPOtmZYCy8ponxPY5XElxsg2klAhqKhzgOqRUv/R5PB1eaMP3 8LuwFsG04news+L+ApyHIdDD3Stiro/kVKTkjXGA9VLF5cfSO6HUo7UEc4b0IkKjpdrC IiQg== 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=hSYgz9h5qhBWLVapNstWBnfXNbbr30g6PZZDelLD6E8=; b=FcuJ1yA9Mq3yZiuJlXLtbV19IQRhvDz7XxYFOUT4PDrnfxyARxLCA43UWHgfVFY+UP c0sGQ+elCW5ZT4uAeAI3HtkgRPsUEtmCd+kTTfYlijRHLsi9fN7VdjcoDo6BHc0o2OYE N/aR1wO7RS9g2I38T5EMXsO4CgxPhKhi/ok/BsLNo6fO681Fnqymay3WJBqI44rtejV1 4gf00qVxxRDc7VufqpAbwu+NwwwhCekTsMafOeH6vsM0RteCXYdvHzTM2dHQrQCCFIlA 9G7I+bZ1fMSdZUqXMb0onsDUIPEVBxwkt3vI3Bu3XRvDaPhDqdVbn8Aw8Ie9ldxEfPw8 S7tQ== 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 u23-v6si6729580plk.487.2018.06.28.04.42.18; Thu, 28 Jun 2018 04:42:36 -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 S933843AbeF1JD7 (ORCPT + 99 others); Thu, 28 Jun 2018 05:03:59 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49668 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933041AbeF1JD4 (ORCPT ); Thu, 28 Jun 2018 05:03:56 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9DFCDB5C9; Thu, 28 Jun 2018 09:03:55 +0000 (UTC) Received: from shalem.localdomain.com (unknown [10.36.118.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7EF372026D69; Thu, 28 Jun 2018 09:03:54 +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 v5 1/3] printk: Export is_console_locked Date: Thu, 28 Jun 2018 11:03:49 +0200 Message-Id: <20180628090351.15581-2-hdegoede@redhat.com> In-Reply-To: <20180628090351.15581-1-hdegoede@redhat.com> References: <20180628090351.15581-1-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 28 Jun 2018 09:03:55 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 28 Jun 2018 09:03:55 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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). Acked-by: Steven Rostedt (VMware) Acked-by: Sergey Senozhatsky Acked-by: Petr Mladek 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