- unnecessary-long-index-i-in-sched.patch removed from -mm tree

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

 



The patch titled

     unnecessary long index i in sched

has been removed from the -mm tree.  Its filename is

     unnecessary-long-index-i-in-sched.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: unnecessary long index i in sched
From: Steven Rostedt <rostedt@xxxxxxxxxxx>

Unless we expect to have more than 2G CPUs, there's no reason to have 'i'
as a long long here.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/sched.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN kernel/sched.c~unnecessary-long-index-i-in-sched kernel/sched.c
--- a/kernel/sched.c~unnecessary-long-index-i-in-sched
+++ a/kernel/sched.c
@@ -1653,7 +1653,8 @@ unsigned long nr_uninterruptible(void)
 
 unsigned long long nr_context_switches(void)
 {
-	unsigned long long i, sum = 0;
+	int i;
+	unsigned long long sum = 0;
 
 	for_each_possible_cpu(i)
 		sum += cpu_rq(i)->nr_switches;
_

Patches currently in -mm which might be from rostedt@xxxxxxxxxxx are

origin.patch
genirq-add-irq-chip-support-misroute-irq-dont-call-desc-chip-end.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