diff options
author | David Howells <dhowells@redhat.com> | 2009-12-15 20:27:45 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-12-16 23:25:19 +0100 |
commit | 6e1415467614e854fee660ff6648bd10fa976e95 (patch) | |
tree | 2ae2e2f51eff0629bc0e26a97eac85483a7ba56f /Documentation/SubmitChecklist | |
parent | security/min_addr.c: make init_mmap_min_addr() static (diff) | |
download | linux-6e1415467614e854fee660ff6648bd10fa976e95.tar.xz linux-6e1415467614e854fee660ff6648bd10fa976e95.zip |
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 <dhowells@redhat.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'Documentation/SubmitChecklist')
0 files changed, 0 insertions, 0 deletions