diff options
author | Kirill A. Shutemov <[email protected]> | 2015-02-11 15:26:47 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-11 17:06:04 -0800 |
commit | 8aa76875dc15b2dd21fa74eb7c12dc3c75f4b6b6 (patch) | |
tree | f7a106df217482745d338eeaa7033b7dcb7646af /fs/jbd/commit.c | |
parent | 4155b8e0a79570d41ae77b5bf7df375bd4c36610 (diff) |
arm: define __PAGETABLE_PMD_FOLDED for !LPAE
ARM uses custom implementation of PMD folding in 2-level page table case.
Generic code expects to see __PAGETABLE_PMD_FOLDED to be defined if PMD is
folded, but ARM doesn't do this. Let's fix it.
Defining __PAGETABLE_PMD_FOLDED will drop out unused __pmd_alloc(). It
also fixes problems with recently-introduced pmd accounting on ARM without
LPAE.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Reported-by: Nishanth Menon <[email protected]>
Reported-by: Simon Horman <[email protected]>
Tested-by: Simon Horman <[email protected]>
Tested-by: Fabio Estevam <[email protected]>
Tested-by: Felipe Balbi <[email protected]>
Tested-by: Nishanth Menon <[email protected]>
Tested-by: Peter Ujfalusi <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions