All of lore.kernel.org
 help / color / mirror / Atom feed
* [to-be-updated] mm-nommuc-use-bug_on-correctly.patch removed from -mm tree
@ 2011-01-27 22:43 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-01-27 22:43 UTC (permalink / raw)
  To: bosong.ly, dhowells, gerg, mm-commits


The patch titled
     mm/nommu.c: use BUG_ON correctly
has been removed from the -mm tree.  Its filename was
     mm-nommuc-use-bug_on-correctly.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: mm/nommu.c: use BUG_ON correctly
From: Coly Li <bosong.ly@taobao.com>

Signed-off-by: Coly Li <bosong.ly@taobao.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/nommu.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff -puN mm/nommu.c~mm-nommuc-use-bug_on-correctly mm/nommu.c
--- a/mm/nommu.c~mm-nommuc-use-bug_on-correctly
+++ a/mm/nommu.c
@@ -534,16 +534,16 @@ static noinline void validate_nommu_regi
 		return;
 
 	last = rb_entry(lastp, struct vm_region, vm_rb);
-	BUG_ON(unlikely(last->vm_end <= last->vm_start));
-	BUG_ON(unlikely(last->vm_top < last->vm_end));
+	BUG_ON(last->vm_end <= last->vm_start);
+	BUG_ON(last->vm_top < last->vm_end);
 
 	while ((p = rb_next(lastp))) {
 		region = rb_entry(p, struct vm_region, vm_rb);
 		last = rb_entry(lastp, struct vm_region, vm_rb);
 
-		BUG_ON(unlikely(region->vm_end <= region->vm_start));
-		BUG_ON(unlikely(region->vm_top < region->vm_end));
-		BUG_ON(unlikely(region->vm_start < last->vm_top));
+		BUG_ON(region->vm_end <= region->vm_start);
+		BUG_ON(region->vm_top < region->vm_end);
+		BUG_ON(region->vm_start < last->vm_top);
 
 		lastp = p;
 	}
_

Patches currently in -mm which might be from bosong.ly@taobao.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-27 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 22:43 [to-be-updated] mm-nommuc-use-bug_on-correctly.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.