]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/boot: Use a common prom_args struct in oflib
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 24 Apr 2014 07:23:26 +0000 (09:23 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:35:26 +0000 (17:35 +1000)
commitfed23ed7ebf0fbea17ad8fed207ff35a747fecaf
tree99d044aa881921d9b33adafdaf236794f70fbd6d
parentf4bce2f784706800efcab6830111df9b75c2f199
powerpc/boot: Use a common prom_args struct in oflib

This patch fixes warnings when the wrapper is compiled in 64bit and
updates the boot wrapper code related to prom to converge with the
kernel code in prom_init. This should make the review of changes easier.

The kernel has a different number of possible arguments (10) when
entering prom. There does not seem to be any good reason to have
12 in the wrapper, so the patch changes this value to args[10] in
the prom_args struct.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/of.h
arch/powerpc/boot/oflib.c