OSDN Git Service

powerpc/tm: Remove struct thread_info param from tm_reclaim_thread()
authorCyril Bur <cyrilbur@gmail.com>
Thu, 1 Feb 2018 01:07:46 +0000 (12:07 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:03:23 +0000 (22:03 +1000)
commitedd00b830731be468fd3caf7f9154d13228f4a93
treeda94e03955fc4e0d3fb1b785aca5edb1c476d877
parenta596a7e91710d26fd862e3b7031c4012974583f2
powerpc/tm: Remove struct thread_info param from tm_reclaim_thread()

Since commit dc3106690b20 ("powerpc: tm: Always use fp_state and
vr_state to store live registers") tm_reclaim_thread() doesn't use the
parameter anymore, both callers have to bother getting it as they have
no need for a struct thread_info either.

Just remove it and adjust the callers.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c