]> www.infradead.org Git - linux.git/commit
sparc32: Use generic cmpdi2/ucmpdi2 variants
authorSam Ravnborg <sam@ravnborg.org>
Sat, 24 Feb 2024 17:42:22 +0000 (18:42 +0100)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 8 Mar 2024 20:20:23 +0000 (21:20 +0100)
commit802a8874a3889a4a0d218d4f73e5855c96d5b8a8
tree480c5ee15478679a0b5adf0958665ddfc8643916
parent626db6ee8ee1edac206610db407114aa83b53fd3
sparc32: Use generic cmpdi2/ucmpdi2 variants

Use the generic variants - the implementation is the same.
As a nice side-effect fix the following warnings:

cmpdi2.c: warning: no previous prototype for '__cmpdi2' [-Wmissing-prototypes]
ucmpdi2.c: warning: no previous prototype for '__ucmpdi2' [-Wmissing-prototypes]

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk>
Tested-by: Maciej W. Rozycki <macro@orcam.me.uk> # build-tested
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-1-1f186603c5c4@ravnborg.org
arch/sparc/Kconfig
arch/sparc/lib/Makefile
arch/sparc/lib/cmpdi2.c [deleted file]
arch/sparc/lib/ucmpdi2.c [deleted file]