Re: what is the purpose of "console_silent" in printk.h?

2018-08-21 Thread Justin Skists


> On 21 August 2018 at 13:41 rpj...@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.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


what is the purpose of "console_silent" in printk.h?

2018-08-21 Thread rpjday



  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


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies