diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2014-06-05 01:06:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:53:57 +0200 |
commit | ff9e43eb4f2eb78067d7b783cc893773b3e129b1 (patch) | |
tree | fa4194211a8a0523d5123507556b1855644a0a01 /lib/sort.c | |
parent | arch/x86/kernel/pci-dma.c: fix dma_generic_alloc_coherent() when CONFIG_DMA_C... (diff) | |
download | linux-ff9e43eb4f2eb78067d7b783cc893773b3e129b1.tar.xz linux-ff9e43eb4f2eb78067d7b783cc893773b3e129b1.zip |
thp: consolidate assert checks in __split_huge_page()
It doesn't make sense to have two assert checks for each invariant: one
for printing and one for BUG().
Let's trigger BUG() if we print error message.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions