]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/core/utils.c
Driver core: notify userspace of network device renames
[mv-sheeva.git] / net / core / utils.c
index 61556065f07ec23b3d115fa05a71b156b0ae2ce1..adecfd281ae98d6b8239eada1b26de0dbe459890 100644 (file)
 #include <asm/system.h>
 #include <asm/uaccess.h>
 
-int net_msg_cost = 5*HZ;
-int net_msg_burst = 10;
+int net_msg_cost __read_mostly = 5*HZ;
+int net_msg_burst __read_mostly = 10;
+int net_msg_warn __read_mostly = 1;
+EXPORT_SYMBOL(net_msg_warn);
 
-/* 
+/*
  * All net warning printk()s should be guarded by this function.
- */ 
+ */
 int net_ratelimit(void)
 {
        return __printk_ratelimit(net_msg_cost, net_msg_burst);