The patch titled
     Fix warning in mm/slub.c
has been added to the -mm tree.  Its filename is
     fix-warning-in-mm-slubc.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix warning in mm/slub.c
From: Olof Johansson <[EMAIL PROTECTED]>

"Make kmem_cache_node for SLUB on memory online to avoid panic" introduced
the following:

mm/slub.c:2737: warning: passing argument 1 of 'atomic_read' from
incompatible pointer type

Signed-off-by: Olof Johansson <[EMAIL PROTECTED]>
Acked-by: Yasunori Goto <[EMAIL PROTECTED]>
Reviewed-by: Pekka Enberg <[EMAIL PROTECTED]>
Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 mm/slub.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/slub.c~fix-warning-in-mm-slubc mm/slub.c
--- a/mm/slub.c~fix-warning-in-mm-slubc
+++ a/mm/slub.c
@@ -2734,7 +2734,7 @@ static void slab_mem_offline_callback(vo
                         * and offline_pages() function shoudn't call this
                         * callback. So, we must fail.
                         */
-                       BUG_ON(atomic_read(&n->nr_slabs));
+                       BUG_ON(atomic_long_read(&n->nr_slabs));
 
                        s->node[offline_node] = NULL;
                        kmem_cache_free(kmalloc_caches, n);
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

fix-warning-in-mm-slubc.patch
bugh-remove-have_arch_bug--have_arch_warn.patch
powerpc-switch-to-generic-warn_on-bug_on.patch

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

Reply via email to