public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CONFIG_PACKET_MMAP should depend on MMU
@ 2007-04-09  3:01 Aubrey Li
  2007-04-09  9:50 ` Wu, Bryan
  0 siblings, 1 reply; 23+ messages in thread
From: Aubrey Li @ 2007-04-09  3:01 UTC (permalink / raw)
  To: netdev, Andrew Morton; +Cc: Linux Kernel

The option CONFIG_PACKET_MMAP should depend on MMU.

Signed-off-by: Aubrey.Li <aubreylee@gmail.com>
---
 net/packet/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/packet/Kconfig b/net/packet/Kconfig
index 34ff93f..959c272 100644
--- a/net/packet/Kconfig
+++ b/net/packet/Kconfig
@@ -17,7 +17,7 @@ config PACKET

 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.
-- 
1.5.1

^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [PATCH] CONFIG_PACKET_MMAP should depend on MMU
@ 2006-04-11  4:22 Aubrey
  0 siblings, 0 replies; 23+ messages in thread
From: Aubrey @ 2006-04-11  4:22 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-04-20 13:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09  3:01 [PATCH] CONFIG_PACKET_MMAP should depend on MMU Aubrey Li
2007-04-09  9:50 ` Wu, Bryan
2007-04-09 15:46   ` Robin Getz
2007-04-10 12:55     ` David Howells
2007-04-10 23:52       ` Robin Getz
2007-04-17 10:36         ` Aubrey Li
2007-04-17 18:30           ` Robin Getz
2007-04-17 19:02             ` David Howells
2007-04-18 15:33           ` David Howells
2007-04-19  0:59             ` Aubrey Li
2007-04-19  9:42               ` David Howells
2007-04-20  4:46             ` Aubrey Li
2007-04-20  7:58               ` David Howells
2007-04-20  8:39                 ` Aubrey Li
2007-04-20  8:58                   ` David Howells
2007-04-20  9:17                     ` Eric Dumazet
2007-04-20 10:43                       ` David Howells
2007-04-20 13:14                     ` Aubrey Li
2007-04-09 16:55   ` David Miller
2007-04-09 18:43     ` David Miller
2007-04-09 20:08       ` Robin Getz
2007-04-10  2:00         ` Wu, Bryan
  -- strict thread matches above, loose matches on Subject: below --
2006-04-11  4:22 Aubrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox