diff options
Diffstat (limited to 'patches/mm-enable-slub.patch')
-rw-r--r-- | patches/mm-enable-slub.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/mm-enable-slub.patch b/patches/mm-enable-slub.patch index 1bc008238a54..79fde96f6c50 100644 --- a/patches/mm-enable-slub.patch +++ b/patches/mm-enable-slub.patch @@ -13,11 +13,11 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- a/mm/slub.c +++ b/mm/slub.c -@@ -3721,6 +3721,11 @@ static void list_slab_objects(struct kme +@@ -3730,6 +3730,11 @@ static void list_slab_objects(struct kme const char *text) { #ifdef CONFIG_SLUB_DEBUG -+#ifdef CONFIG_PREEMPT_RT_BASE ++#ifdef CONFIG_PREEMPT_RT + /* XXX move out of irq-off section */ + slab_err(s, page, text, s->name); +#else @@ -25,7 +25,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> void *addr = page_address(page); void *p; unsigned long *map = bitmap_zalloc(page->objects, GFP_ATOMIC); -@@ -3740,8 +3745,10 @@ static void list_slab_objects(struct kme +@@ -3749,8 +3754,10 @@ static void list_slab_objects(struct kme slab_unlock(page); bitmap_free(map); #endif |