Commit 27f04a42 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] lib/parser.o linkage fix

It's possible to define .configs in which there are no references in vmlinux
to lib/parser.o.  So you cannot load any filesystem modules.

Arrange for parser.o to be statically linked.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8331dc5b
......@@ -4,11 +4,11 @@
lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
kobject.o kref.o idr.o div64.o parser.o int_sqrt.o \
kobject.o kref.o idr.o div64.o int_sqrt.o \
bitmap.o extable.o kobject_uevent.o prio_tree.o sha1.o \
halfmd4.o
obj-y += sort.o
obj-y += sort.o parser.o
ifeq ($(CONFIG_DEBUG_KOBJECT),y)
CFLAGS_kobject.o += -DDEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment