From: David Howells Date: Tue, 15 Dec 2009 19:27:45 +0000 (+0000) Subject: NOMMU: Optimise away the {dac_,}mmap_min_addr tests X-Git-Tag: v2.6.33-rc1~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e1415467614e854fee660ff6648bd10fa976e95;p=pandora-kernel.git NOMMU: Optimise away the {dac_,}mmap_min_addr tests In NOMMU mode clamp dac_mmap_min_addr to zero to cause the tests on it to be skipped by the compiler. We do this as the minimum mmap address doesn't make any sense in NOMMU mode. mmap_min_addr and round_hint_to_min() can be discarded entirely in NOMMU mode. Signed-off-by: David Howells Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed