summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib/uaccess_old.S
AgeCommit message (Collapse)AuthorFilesLines
2012-03-30microblaze: Fix stack usage in PAGE_SIZE copy_tofrom_userMichal Simek1-36/+62
If access to user space failed we need to reconstruct stack pointer and restore all register. This patch fixed problem introduces by: "microblaze: Add loop unrolling for PAGE in copy_tofrom_user" (sha1: ebe211254bfa6295f4ab0b33c7c881bdfabbab60) Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Use delay slot in __strnlen_user, __strncpy_userMichal Simek1-2/+2
Use delay slot to speedup if maxlen is zero. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Add loop unrolling for PAGE in copy_tofrom_userMichal Simek1-0/+84
Increase performance by loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Simplify logic for unaligned byte copyingMichal Simek1-5/+3
Save jump instruction for unaligned byte copying. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Change label names - copy_tofrom_userMichal Simek1-14/+13
Change label name to be prepared for loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Separate fixup section definitionMichal Simek1-1/+9
Move fixups below appropriate code. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Change label name in copy_tofrom_userMichal Simek1-3/+3
Use label 0: for zero length copying and fixups. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-01microblaze: Support word copying in copy_tofrom_userMichal Simek1-14/+25
Word copying is used only for aligned addresses. Here is space for improving to use any better copying technique. Look at memcpy implementation. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-01microblaze: Add .type and .size to ASM functionsMichal Simek1-0/+6
Cachegrind analysis need this fix to be able to log asm functions. Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-05-26microblaze_mmu_v2: uaccess MMU updateMichal Simek1-0/+135
Signed-off-by: Michal Simek <monstr@monstr.eu>