mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
db3808c1ba
Now get_vmalloc_info() is in fs/proc/mmu.c. There is no reason that this code must be here and it's implementation needs vmlist_lock and it iterate a vmlist which may be internal data structure for vmalloc. It is preferable that vmlist_lock and vmlist is only used in vmalloc.c for maintainability. So move the code to vmalloc.c Signed-off-by: Joonsoo Kim <js1304@gmail.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> Cc: Chris Metcalf <cmetcalf@tilera.com> Cc: Dave Anderson <anderson@redhat.com> Cc: Eric Biederman <ebiederm@xmission.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: Ingo Molnar <mingo@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
784 B
Makefile
33 lines
784 B
Makefile
#
|
|
# Makefile for the Linux proc filesystem routines.
|
|
#
|
|
|
|
obj-y += proc.o
|
|
|
|
proc-y := nommu.o task_nommu.o
|
|
proc-$(CONFIG_MMU) := task_mmu.o
|
|
|
|
proc-y += inode.o root.o base.o generic.o array.o \
|
|
fd.o
|
|
proc-$(CONFIG_TTY) += proc_tty.o
|
|
proc-y += cmdline.o
|
|
proc-y += consoles.o
|
|
proc-y += cpuinfo.o
|
|
proc-y += devices.o
|
|
proc-y += interrupts.o
|
|
proc-y += loadavg.o
|
|
proc-y += meminfo.o
|
|
proc-y += stat.o
|
|
proc-y += uptime.o
|
|
proc-y += version.o
|
|
proc-y += softirqs.o
|
|
proc-y += namespaces.o
|
|
proc-y += self.o
|
|
proc-$(CONFIG_PROC_SYSCTL) += proc_sysctl.o
|
|
proc-$(CONFIG_NET) += proc_net.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
|
|
proc-$(CONFIG_PROC_PAGE_MONITOR) += page.o
|