Skip to content
Commit bd5e88ad authored by Vineet Gupta's avatar Vineet Gupta
Browse files

mm,thp: reduce ifdef'ery for THP in generic code



- pgtable-generic.c: Fold individual #ifdef for each helper into a top
  level #ifdef. Makes code more readable

- Converted the stub helpers for !THP to BUILD_BUG() vs. runtime BUG()

Acked-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20151009133450.GA8597@node


Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 52585bcc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment