summaryrefslogtreecommitdiff
path: root/arch/arm/mm/copypage-v4wb.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-28[ARM] fix a couple clear_user_highpage assembly constraintsNicolas Pitre1-5/+5
In all cases the kaddr is assigned an input register even though it is modified in the assembly code. Let's assign a new variable to the modified value and mark those inline asm with volatile otherwise they get optimized away because the output variable is otherwise not used. Also fix a few conversion errors in copypage-feroceon.c and copypage-v4mc.c. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-11-28[ARM] clearpage: provide our own clear_user_highpage()Russell King1-14/+14
For similar reasons as copy_user_page(), we want to avoid the additional kmap_atomic if it's unnecessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-11-28[ARM] copypage: provide our own copy_user_highpage()Russell King1-7/+18
We used to override the copy_user_page() function. However, this is not only inefficient, it also causes additional complexity for highmem support, since we convert from a struct page to a kernel direct mapped address and back to a struct page again. Moreover, with highmem support, we end up pointlessly setting up kmap entries for pages which we're going to remap. So, push the kmapping down into the copypage implementation files where it's required. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-11-28[ARM] copypage: convert assembly files to CRussell King1-0/+83
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>