[PATCH] CONFIG_PACKET_MMAP should depend on MMU

From: Aubrey
Date: Tue Apr 11 2006 - 00:22:55 EST


The option CONFIG_PACKET_MMAP should depend on MMU.
When enable CONFIG_PACKET_MMAP, the file "af_packet.c" has
vm_insert_page() call.
The routine vm_insert_page() is defined in the file "./mm/memory.c"
which depends on MMU.

Signed-off-by: aubrey li <aubreylee@xxxxxxxxx>

--- Kconfig.orig 2006-04-11 12:17:25.000000000 +0800
+++ Kconfig 2006-04-11 12:16:18.000000000 +0800
@@ -17,7 +17,7 @@

config PACKET_MMAP
bool "Packet socket: mmapped IO"
- depends on PACKET
+ depends on PACKET && MMU
help
If you say Y here, the Packet protocol driver will use an IO
mechanism that results in faster communication.

Thanks,
-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/