[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6130.1157470282@warthog.cambridge.redhat.com>
Date: Tue, 05 Sep 2006 16:31:22 +0100
From: David Howells <dhowells@...hat.com>
To: Adrian Bunk <bunk@...sta.de>
Cc: Andrew Morton <akpm@...l.org>,
Arjan van de Ven <arjan@...ux.intel.com>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Jeff Garzik <jeff@...zik.org>, netdev@...r.kernel.org,
David Howells <dhowells@...hat.com>
Subject: [PATCH] NOMMU: Make lib/ioremap.c conditional
Make lib/ioremap.c conditional on !CONFIG_MMU. It plays with PTEs which don't
exist under NOMMU conditions.
Signed-Off-By: David Howells <dhowells@...hat.com>
---
warthog>diffstat -p1 nommu-ioremap-2618rc5mm1.diff
lib/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -urp ../kernels/linux-2.6.18-rc5-mm1/lib/Makefile linux-2.6.18-rc5-mm1-frv/lib/Makefile
--- ../kernels/linux-2.6.18-rc5-mm1/lib/Makefile 2006-09-04 18:03:32.000000000 +0100
+++ linux-2.6.18-rc5-mm1-frv/lib/Makefile 2006-09-05 16:01:38.000000000 +0100
@@ -5,8 +5,9 @@
lib-y := ctype.o string.o vsprintf.o cmdline.o \
bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
idr.o div64.o int_sqrt.o bitmap.o extable.o prio_tree.o \
- sha1.o ioremap.o
+ sha1.o
+lib-$(CONFIG_MMU) += ioremap.o
lib-$(CONFIG_SMP) += cpumask.o
lib-y += kobject.o kref.o kobject_uevent.o klist.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists