c36264dfb2
Attempts to read() from the non-existent dmesg buffer will return zero and userspace tends to get stuck in a busyloop. So just remove /dev/kmsg altogether if CONFIG_PRINTK=n. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
16 lines
403 B
Makefile
16 lines
403 B
Makefile
#
|
|
# Makefile for the Linux proc filesystem routines.
|
|
#
|
|
|
|
obj-$(CONFIG_PROC_FS) += proc.o
|
|
|
|
proc-y := nommu.o task_nommu.o
|
|
proc-$(CONFIG_MMU) := mmu.o task_mmu.o
|
|
|
|
proc-y += inode.o root.o base.o generic.o array.o \
|
|
proc_tty.o proc_misc.o
|
|
|
|
proc-$(CONFIG_PROC_KCORE) += kcore.o
|
|
proc-$(CONFIG_PROC_VMCORE) += vmcore.o
|
|
proc-$(CONFIG_PROC_DEVICETREE) += proc_devtree.o
|
|
proc-$(CONFIG_PRINTK) += kmsg.o
|