aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/lib/uaccess_old.S
AgeCommit message (Collapse)Author
2012-03-30microblaze: Fix stack usage in PAGE_SIZE copy_tofrom_userMichal Simek
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 Simek
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 Simek
Increase performance by loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Simplify logic for unaligned byte copyingMichal Simek
Save jump instruction for unaligned byte copying. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Change label names - copy_tofrom_userMichal Simek
Change label name to be prepared for loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Separate fixup section definitionMichal Simek
Move fixups below appropriate code. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14microblaze: Change label name in copy_tofrom_userMichal Simek
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 Simek
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 Simek
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 Simek
Signed-off-by: Michal Simek <monstr@monstr.eu>