From: Hugh Dickins Date: Tue, 23 Apr 2013 10:20:35 +0000 (+0100) Subject: ARM: 7701/1: mm: Allow arch code to control the user page table ceiling X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~51^2~1^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0a9434dd50aac5971d63207ff1e25e69c9abdb3;p=pandora-kernel.git ARM: 7701/1: mm: Allow arch code to control the user page table ceiling On architectures where a pgd entry may be shared between user and kernel (e.g. ARM+LPAE), freeing page tables needs a ceiling other than 0. This patch introduces a generic USER_PGTABLES_CEILING that arch code can override. It is the responsibility of the arch code setting the ceiling to ensure the complete freeing of the page tables (usually in pgd_free()). [catalin.marinas@arm.com: commit log; shift_arg_pages(), asm-generic/pgtables.h changes] Signed-off-by: Hugh Dickins Signed-off-by: Catalin Marinas Cc: Andrew Morton Cc: # 3.3+ Signed-off-by: Russell King --- Reading git-diff-tree failed