diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-10 11:24:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-10 11:24:19 -0700 |
commit | b520410654103086ccc0d339c0ff645d4c4dd697 (patch) | |
tree | 2c438494daddcf3a56fe951b5a9e30796ba8e374 /fs/proc | |
parent | adf4bfc4a9ab86be0b72fa9cadc9e7ab6ad15dfe (diff) | |
parent | c77ae0b86322fe91115d8188cbd3b36ecdb8120e (diff) | |
download | linux-b520410654103086ccc0d339c0ff645d4c4dd697.tar.gz linux-b520410654103086ccc0d339c0ff645d4c4dd697.tar.bz2 linux-b520410654103086ccc0d339c0ff645d4c4dd697.zip |
Merge tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk updates from Petr Mladek:
- Initialize pointer hashing using the system workqueue. It avoids
taking locks in printk()/vsprintf() code path
- Misc code clean up
* tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
printk: Mark __printk percpu data ready __ro_after_init
printk: Remove bogus comment vs. boot consoles
printk: Remove write only variable nr_ext_console_drivers
printk: Declare log_wait properly
printk: Make pr_flush() static
lib/vsprintf: Initialize vsprintf's pointer hash once the random core is ready.
lib/vsprintf: Remove static_branch_likely() from __ptr_to_hashval().
lib/vnsprintf: add const modifier for param 'bitmap'
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/kmsg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c index 592e6dc7c110..2fc92a13f9f8 100644 --- a/fs/proc/kmsg.c +++ b/fs/proc/kmsg.c @@ -17,8 +17,6 @@ #include <asm/io.h> -extern wait_queue_head_t log_wait; - static int kmsg_open(struct inode * inode, struct file * file) { return do_syslog(SYSLOG_ACTION_OPEN, NULL, 0, SYSLOG_FROM_PROC); |