Skip to content

: Assembler unification...

David Miller sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4: sparc: Kill memcmp_32.S code which has been ifdef'darch/sparc/lib/memcmp_32.S+0 -2820 replies
2/4: sparc: Add asm/asm.harch/sparc/include/asm/asm.h+40 -00 replies
3/4: sparc: Unify strlen assembler.arch/sparc/lib/Makefile arch/sparc/lib/strlen.S arch/sparc/lib/strlen_32.S +1 more+81 -1620 replies
4/4: sparc: Commonize memcmp assembler.arch/sparc/kernel/sparc_ksyms_32.c arch/sparc/kernel/sparc_ksyms_64.c arch/sparc/lib/Makefile +3 more+28 -630 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4]: Assembler unification...

This is just an FYI patch posting, I won't push this out to the sparc-next-2.6 GIT tree until I go over it some more and do some testing.

This series starts unifying assembler code that is essentially the same on 32-bit and 64-bit.

The differences are mostly in the branch instructions, since sparc 64-bit has prediction, and branch-on-register instructions.

We fabricate this using some helper macros in a new asm/asm.h header file. We'll add new stuff there, as needed.

I also took the opportunity to get these files using the proper linux/linkage.h macros to define function boundaries.