]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite819efc0fd840cfea9b35432f681ad8cd3942bf6
tree63be2b615699bab43f2b593ed482d739a1c6932d
parent5935124e8b50ac3c164c3d25d9de238952a3405f
powerpc/pseries: Fix SMP=n build of rng.c

In commit 777bdfd "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