diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -381,9 +381,9 @@ static inline bool __cmpxchg_double_slab(struct kmem_cache *s, struct page *page | |||
381 | defined(CONFIG_HAVE_ALIGNED_STRUCT_PAGE) | 381 | defined(CONFIG_HAVE_ALIGNED_STRUCT_PAGE) |
382 | if (s->flags & __CMPXCHG_DOUBLE) { | 382 | if (s->flags & __CMPXCHG_DOUBLE) { |
383 | if (cmpxchg_double(&page->freelist, &page->counters, | 383 | if (cmpxchg_double(&page->freelist, &page->counters, |
384 | freelist_old, counters_old, | 384 | freelist_old, counters_old, |
385 | freelist_new, counters_new)) | 385 | freelist_new, counters_new)) |
386 | return 1; | 386 | return 1; |
387 | } else | 387 | } else |
388 | #endif | 388 | #endif |
389 | { | 389 | { |
@@ -417,9 +417,9 @@ static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct page *page, | |||
417 | defined(CONFIG_HAVE_ALIGNED_STRUCT_PAGE) | 417 | defined(CONFIG_HAVE_ALIGNED_STRUCT_PAGE) |
418 | if (s->flags & __CMPXCHG_DOUBLE) { | 418 | if (s->flags & __CMPXCHG_DOUBLE) { |
419 | if (cmpxchg_double(&page->freelist, &page->counters, | 419 | if (cmpxchg_double(&page->freelist, &page->counters, |
420 | freelist_old, counters_old, | 420 | freelist_old, counters_old, |
421 | freelist_new, counters_new)) | 421 | freelist_new, counters_new)) |
422 | return 1; | 422 | return 1; |
423 | } else | 423 | } else |
424 | #endif | 424 | #endif |
425 | { | 425 | { |