powerpc/kernel: Make function __giveup_fpu() static
authorMathieu Malaterre <malat@debian.org>
Sun, 25 Feb 2018 17:22:23 +0000 (18:22 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:35 +0000 (15:50 +1100)
commit1cdf039bf82a39d816ca4b8161b01c0acfca3e62
treef0eac85d5e8fc7ce3c065f85e393eff1f3003649
parent8b51e679a54e808bdf1f2cc6552cf25577f0a3ea
powerpc/kernel: Make function __giveup_fpu() static

__giveup_fpu() is never called outside process.c, so it can be static.
That also means we don't need an empty definition in switch_to.h

Signed-off-by: Mathieu Malaterre <malat@debian.org>
[mpe: Also drop the empty version, rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/switch_to.h
arch/powerpc/kernel/process.c