summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/lib/memcopy.S
diff options
context:
space:
mode:
authorChris Zankel2012-11-29 01:53:51 +0100
committerChris Zankel2012-12-19 06:10:25 +0100
commitc4c4594b005d89b56964071bbbdeb07daac5bc76 (patch)
tree4c0b50ba3b87a53768bdd7161e90e9874b498127 /arch/xtensa/lib/memcopy.S
parentxtensa: provide endianness macro for sparse (diff)
downloadkernel-qcow2-linux-c4c4594b005d89b56964071bbbdeb07daac5bc76.tar.gz
kernel-qcow2-linux-c4c4594b005d89b56964071bbbdeb07daac5bc76.tar.xz
kernel-qcow2-linux-c4c4594b005d89b56964071bbbdeb07daac5bc76.zip
xtensa: clean up files to make them code-style compliant
Remove heading and trailing spaces, trim trailing lines, and wrap lines that are longer than 80 characters. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/lib/memcopy.S')
-rw-r--r--arch/xtensa/lib/memcopy.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/xtensa/lib/memcopy.S b/arch/xtensa/lib/memcopy.S
index c48b80acb5f0..b1c219acabe7 100644
--- a/arch/xtensa/lib/memcopy.S
+++ b/arch/xtensa/lib/memcopy.S
@@ -210,8 +210,10 @@ memcpy:
_beqz a4, .Ldone # avoid loading anything for zero-length copies
# copy 16 bytes per iteration for word-aligned dst and unaligned src
ssa8 a3 # set shift amount from byte offset
-#define SIM_CHECKS_ALIGNMENT 1 /* set to 1 when running on ISS (simulator) with the
- lint or ferret client, or 0 to save a few cycles */
+
+/* set to 1 when running on ISS (simulator) with the
+ lint or ferret client, or 0 to save a few cycles */
+#define SIM_CHECKS_ALIGNMENT 1
#if XCHAL_UNALIGNED_LOAD_EXCEPTION || SIM_CHECKS_ALIGNMENT
and a11, a3, a8 # save unalignment offset for below
sub a3, a3, a11 # align a3