From: Kumar Gala Date: Thu, 20 Oct 2005 16:44:03 +0000 (-0500) Subject: [PATCH] powerpc: some prom.c cleanups X-Git-Tag: v2.6.15-rc1~59^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60dda2565bbf31bbe662fd143a41c861b7a190cf;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed