Hi Sergey,
On Tue, Dec 27, 2016 at 3:16 PM, Sergey Senozhatsky
<[email protected]> wrote:
> 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 <[email protected]>
> --- 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.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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