kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* what is the purpose of "console_silent" in printk.h?
@ 2018-08-21 12:41 rpjday at crashcourse.ca
  2018-08-21 12:54 ` Justin Skists
  0 siblings, 1 reply; 2+ messages in thread
From: rpjday at crashcourse.ca @ 2018-08-21 12:41 UTC (permalink / raw)
  To: kernelnewbies


   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?

rday

^ permalink raw reply	[flat|nested] 2+ messages in thread

* what is the purpose of "console_silent" in printk.h?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Skists @ 2018-08-21 12:54 UTC (permalink / raw)
  To: kernelnewbies


> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-21 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).