[to-be-updated] sysctl-extern-cleanup-block-iopoll.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     sysctl extern cleanup: block iopoll
has been removed from the -mm tree.  Its filename was
     sysctl-extern-cleanup-block-iopoll.patch

This patch was dropped because an updated version will be merged

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: sysctl extern cleanup: block iopoll
From: Dave Young <hidave.darkstar@xxxxxxxxx>

Extern declarations in sysctl.c should be moved to their own header file,
and then include them in relavant .c files.

blk_iopoll_enabled declared in linux/blk-iopoll.h, remove the declaration
in sysctl.c, include the head file instead.

Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx>
Cc: Jens Axboe <jens.axboe@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/sysctl.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff -puN kernel/sysctl.c~sysctl-extern-cleanup-block-iopoll kernel/sysctl.c
--- a/kernel/sysctl.c~sysctl-extern-cleanup-block-iopoll
+++ a/kernel/sysctl.c
@@ -39,6 +39,9 @@
 #include <linux/highuid.h>
 #include <linux/pid.h>
 #include <linux/writeback.h>
+#ifdef CONFIG_BLOCK
+#include <linux/blk-iopoll.h>
+#endif
 #include <linux/ratelimit.h>
 #include <linux/latencytop.h>
 #include <linux/hugetlb.h>
@@ -82,9 +85,6 @@ extern int percpu_pagelist_fraction;
 #ifndef CONFIG_MMU
 extern int sysctl_nr_trim_pages;
 #endif
-#ifdef CONFIG_BLOCK
-extern int blk_iopoll_enabled;
-#endif
 
 /* Constants used for minimum and  maximum */
 #ifdef CONFIG_DETECT_SOFTLOCKUP
_

Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are

origin.patch
sysctl-extern-cleanup-block-iopoll.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux