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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 21 August 2018 at 13:41 rpjday@xxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux