]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: some prom.c cleanups
authorKumar Gala <galak@freescale.com>
Thu, 20 Oct 2005 16:44:03 +0000 (11:44 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Oct 2005 05:52:56 +0000 (15:52 +1000)
commit60dda2565bbf31bbe662fd143a41c861b7a190cf
tree26821704b421cbfc50f50dc2cb7f028960b7294d
parentd2e615125762459fd2bb9f0c91881509a0b9c31b
[PATCH] powerpc: some prom.c cleanups

On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0.  This is ok, but
we can't assign a value to _machine then.

We may not have CONFIG_PCI available, so only build in support for
find_parent_pci_resource(), request_OF_resource(), release_OF_resource()
if PCI is enabled.  This is probably not the long term fix but works out
for now.

Make reg_property64 contain 64-bit elements on a 32-bit machine.

Mark the deprecated prom.c functions as __deprecated.

Signed-off-by: Kumar K. Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
include/asm-powerpc/prom.h