Re: [PATCHv7 2/8] printk: rename nmi.c and exported api
From: Geert Uytterhoeven
Date: Thu Feb 23 2017 - 02:51:01 EST
On Tue, Dec 27, 2016 at 3:16 PM, Sergey Senozhatsky
> A preparation patch for printk_safe work. No functional change.
> - rename nmi.c to print_safe.c
> - add `printk_safe' prefix to some (which used both by printk-safe
> and printk-nmi) of the exported functions.
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -875,17 +875,19 @@ config LOG_CPU_MAX_BUF_SHIFT
> 13 => 8 KB for each CPU
> 12 => 4 KB for each CPU
> -config NMI_LOG_BUF_SHIFT
> - int "Temporary per-CPU NMI log buffer size (12 => 4KB, 13 => 8KB)"
> +config PRINTK_SAFE_LOG_BUF_SHIFT
> + int "Temporary per-CPU printk log buffer size (12 => 4KB, 13 => 8KB)"
> range 10 21
> default 13
> - depends on PRINTK_NMI
> + depends on PRINTK
Was this dependency change intentional?
My platform doesn't have PRINTK_NMI.
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds