lkml.org 
[lkml]   [2006]   [Apr]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 11 Apr 2006 12:22:21 +0800
FromAubrey <>
Subject[PATCH] CONFIG_PACKET_MMAP should depend on MMU
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@gmail.com>

--- 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-11 04:25    [from the cache]
©2003-2008