kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: justin.skists@juzza.co.uk (Justin Skists)
To: kernelnewbies@lists.kernelnewbies.org
Subject: what is the purpose of "console_silent" in printk.h?
Date: Tue, 21 Aug 2018 13:54:48 +0100 (BST)	[thread overview]
Message-ID: <470094792.501490.1534856088868@email.1and1.co.uk> (raw)
In-Reply-To: <20180821084147.Horde.Fj372cgkc39zN0Do-VmdPFZ@crashcourse.ca>


> On 21 August 2018 at 13:41 rpjday at crashcourse.ca wrote:
> 
> 
> 
>    i note in include/linux/printk.h:
> 
>    static inline void console_silent(void)
>    {
> 	console_loglevel = CONSOLE_LOGLEVEL_SILENT;
>    }
> 
> except i see no reference to "console_silent" anywhere else in the
> entire kernel code base. any idea what its purpose is?

It was used in an older version of the kernel. The architecture that used that function doesn't look like it is supported any more.

https://elixir.bootlin.com/linux/v4.16.18/source/arch/mn10300/kernel/mn10300-watchdog.c#L184


Justin.

      reply	other threads:[~2018-08-21 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 12:41 what is the purpose of "console_silent" in printk.h? rpjday at crashcourse.ca
2018-08-21 12:54 ` Justin Skists [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470094792.501490.1534856088868@email.1and1.co.uk \
    --to=justin.skists@juzza.co.uk \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).