]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] uml problems with linux/io.h
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 13 Dec 2006 08:35:00 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:52 +0000 (09:05 -0800)
Remove useless includes of linux/io.h, don't even try to build iomap_copy
on uml (it doesn't have readb() et.al., so...)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
crypto/blkcipher.c
lib/Kconfig
lib/Makefile
lib/ioremap.c

index 034c939bf91a2a26cabcbc836f508bbf283e911f..6e93004f2181ccb3f265994cf9806db528641796 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/crypto.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
-#include <linux/io.h>
 #include <linux/module.h>
 #include <linux/scatterlist.h>
 #include <linux/seq_file.h>
index 47b172df3e312775f4accaa804fd42256d5331f7..9b03581cdecb3d746186e1c0fa1ab2685cdbcfcc 100644 (file)
@@ -101,4 +101,9 @@ config TEXTSEARCH_FSM
 config PLIST
        boolean
 
+config IOMAP_COPY
+       boolean
+       depends on !UML
+       default y
+
 endmenu
index c9ec8f11e8338417f2c0bada22aae2844a9b4900..77b4bad7d441be4185001773a14ebf71aae06d32 100644 (file)
@@ -12,13 +12,14 @@ lib-$(CONFIG_SMP) += cpumask.o
 
 lib-y  += kobject.o kref.o kobject_uevent.o klist.o
 
-obj-y += sort.o parser.o halfmd4.o iomap_copy.o debug_locks.o random32.o
+obj-y += sort.o parser.o halfmd4.o debug_locks.o random32.o
 
 ifeq ($(CONFIG_DEBUG_KOBJECT),y)
 CFLAGS_kobject.o += -DDEBUG
 CFLAGS_kobject_uevent.o += -DDEBUG
 endif
 
+obj-$(CONFIG_IOMAP_COPY) += iomap_copy.o
 obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
 lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
index 99fa277f9f7b7345d7394ba0d5185c7acc815486..a9e4415b02dcca58a5fbdf4d8c81b9821356c714 100644 (file)
@@ -5,7 +5,6 @@
  *
  * (C) Copyright 1995 1996 Linus Torvalds
  */
-#include <linux/io.h>
 #include <linux/vmalloc.h>
 #include <linux/mm.h>