powerpc/ppc64: Remove the unneeded load of ti_flags in resume_kernel
authorKevin Hao <haokexin@gmail.com>
Thu, 26 Sep 2013 08:41:34 +0000 (16:41 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:49:25 +0000 (16:49 +1100)
commit0edfdd10f57bd989f7c2bc31ce6f601bbee1b664
tree198142ff7e30bde25ad53e41ef44bd06b7981b0f
parent1443d6a2a740b0b0dd644dba0fb96863eea238eb
powerpc/ppc64: Remove the unneeded load of ti_flags in resume_kernel

We already got the value of current_thread_info and ti_flags and store
them into r9 and r4 respectively before jumping to resume_kernel. So
there is no reason to reload them again.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_64.S