linux/arch/xtensa/lib
Max Filippov 84e3da3b20 xtensa: fixes for configs without loop option
commit 5029615e25 upstream.

Build-time fixes:
- make lbeg/lend/lcount save/restore conditional on kernel entry;
- don't clear lcount in platform_restart functions unconditionally.

Run-time fixes:
- use correct end of range register in __endla paired with __loopt, not
  the unused temporary register. This fixes .bss zero-initialization.
  Update comments in asmmacro.h;
- don't clobber a10 in the usercopy that leads to access to unmapped
  memory.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-12-13 17:49:02 +00:00
..
checksum.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
Makefile [STRING]: Move strcasecmp/strncasecmp to lib/string.c 2007-04-26 01:54:39 -07:00
memcopy.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
memset.S xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
pci-auto.c xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
strncpy_user.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
strnlen_user.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
usercopy.S xtensa: fixes for configs without loop option 2015-12-13 17:49:02 +00:00