]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sparc32: Kill off software 32-bit multiply/divide routines.
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 May 2012 18:23:01 +0000 (11:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 May 2012 18:23:47 +0000 (11:23 -0700)
commit1b35a57b1c1781f0fc8fc554f732b3a5408c5244
tree80e5616798e0dc5ec138f020e6aa9ae482378462
parent2119ff6d2bc0dd6a97de1632e50cd7936049738c
sparc32: Kill off software 32-bit multiply/divide routines.

For the explicit calls to .udiv/.umul in assembler, I made a
mechanical (read as: safe) transformation.  I didn't attempt
to make any simplifications.

In particular, __ndelay and __udelay can be simplified significantly.
Some of the %y reads are unnecessary and these routines have no need
any longer for allocating a register window, they can be leaf
functions.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
arch/sparc/kernel/entry.S
arch/sparc/kernel/head_32.S
arch/sparc/kernel/kernel.h
arch/sparc/kernel/module.c
arch/sparc/kernel/muldiv.c [deleted file]
arch/sparc/kernel/traps_32.c
arch/sparc/lib/Makefile
arch/sparc/lib/divdi3.S
arch/sparc/lib/ksyms.c
arch/sparc/lib/mul.S [deleted file]
arch/sparc/lib/muldi3.S
arch/sparc/lib/rem.S [deleted file]
arch/sparc/lib/sdiv.S [deleted file]
arch/sparc/lib/udiv.S [deleted file]
arch/sparc/lib/udivdi3.S
arch/sparc/lib/umul.S [deleted file]
arch/sparc/lib/urem.S [deleted file]