commit | bd5e88ad72b26ebf7ecb231bc22ceecd6cbdb951 | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Thu Jul 09 17:22:44 2015 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Sat Oct 17 17:48:20 2015 +0530 |
tree | cb9da0478c769d706cec2e9fbd140172e05b5366 | |
parent | 52585bcc2505d6f888d4ac68ca6c55f6d1ad736a [diff] |
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: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Link: http://lkml.kernel.org/r/20151009133450.GA8597@node Signed-off-by: Vineet Gupta <vgupta@synopsys.com>