]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/vdso: Combine start/size variables
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Apr 2015 05:40:35 +0000 (15:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 10:00:32 +0000 (20:00 +1000)
commit6e5c077519f2661c56647fc21b2ec2ba0a50bb75
tree44d236072fd0ff51a57c21582636a2e7e35be252
parent63da88dd48268af415b3677e20f6bcb92c1bf32c
powerpc/vdso: Combine start/size variables

In vdso_fixup_features() we have start64/start32 and size64/size32, but
they have the same types, ie. void * and unsigned long.

They're only used to save the return value from find_sectionXX() for the
subsequent call to do_feature_fixups(), so there's no overlap in their
usage either.

So we can just consolidate them into start/size and avoid the
duplication.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vdso.c