]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Add includes to fix powernv/rng.c build
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Oct 2013 08:34:41 +0000 (19:34 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 04:59:04 +0000 (15:59 +1100)
Caused by commit a4da0d50b2a0 ("powerpc: Implement
arch_get_random_long/int() for powernv") from the powerpc tree
interacting with commit b5b4bb3f6a11 ("of: only include prom.h on sparc")
from the dt-rh tree.

I added this merge fix patch (which will need to be sent to Linus when
these two trees get merged, or could be applied now to the powerpc tree):

[ Also add linux/smp.h to get cpu_to_chip_id -- BenH ]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/rng.c

index 02db7d73cf8b826ad1f64f9c7eb59136d5f60a6a..8844628915dc4770b8d9ce35f4a03ab9dee5e94c 100644 (file)
 
 #include <linux/kernel.h>
 #include <linux/of.h>
 
 #include <linux/kernel.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/slab.h>
 #include <linux/of_platform.h>
 #include <linux/slab.h>
+#include <linux/smp.h>
 #include <asm/archrandom.h>
 #include <asm/io.h>
 #include <asm/archrandom.h>
 #include <asm/io.h>
+#include <asm/prom.h>
 #include <asm/machdep.h>
 
 
 #include <asm/machdep.h>