]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sparc64: Fix boot on T4 and later.
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Nov 2017 20:09:29 +0000 (15:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Nov 2017 20:09:29 +0000 (15:09 -0500)
commite5372cd5ef12b05ae74d608f95dc53fe06558867
tree90003880eb6a52bbad34758860034b11e7b37bb0
parent0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c
sparc64: Fix boot on T4 and later.

If we don't put the NG4fls.o object into the same part of
the link as the generic sparc64 objects for fls() and __fls()
then the relocation in the branch we use for patching will
not fit.

Move NG4fls.o into lib-y to fix this problem.

Fixes: 46ad8d2d22c1 ("sparc64: Use sparc optimized fls and __fls for T4 and above")
Signed-off-by: David S. Miller <davem@davemloft.net>
Reported-by: Anatoly Pugachev <matorola@gmail.com>
Tested-by: Anatoly Pugachev <matorola@gmail.com>
arch/sparc/lib/Makefile