powerpc/pseries: Fix SMP=n build of rng.c
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 20 Nov 2013 00:05:02 +0000 (11:05 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Nov 2013 23:33:45 +0000 (10:33 +1100)
commit148924f7a282b3acb1f8868ae03c3f76be301d8d
tree63be2b615699bab43f2b593ed482d739a1c6932d
parent3eb906c6b6c123513718e7742a96a4189f900382
powerpc/pseries: Fix SMP=n build of rng.c

In commit a489043 "Implement arch_get_random_long() based on H_RANDOM" I
broke the SMP=n build. We were getting plpar_wrappers.h via spinlock.h
which breaks when SMP=n.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/rng.c