Skip to content

Commit

Permalink
printk: move CONSOLE_EXT_LOG_MAX to kernel/printk/printk.c
Browse files Browse the repository at this point in the history
This macro is only used in kernel/printk/printk.c

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
masahir0y authored and intel-lab-lkp committed Feb 2, 2021
1 parent ff60b9f commit 35d219b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/printk.h
Expand Up @@ -44,8 +44,6 @@ static inline const char *printk_skip_headers(const char *buffer)
return buffer;
}

#define CONSOLE_EXT_LOG_MAX 8192

/* We show everything that is MORE important than this.. */
#define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */
#define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */
Expand Down
2 changes: 2 additions & 0 deletions kernel/printk/printk.c
Expand Up @@ -617,6 +617,8 @@ static ssize_t msg_print_ext_body(char *buf, size_t size,
return len;
}

#define CONSOLE_EXT_LOG_MAX 8192

/* /dev/kmsg - userspace message inject/listen interface */
struct devkmsg_user {
u64 seq;
Expand Down

0 comments on commit 35d219b

Please sign in to comment.