please pull the powerpc-merge.git tree
David Woodhouse
dwmw2 at infradead.org
Wed Nov 2 03:06:47 EST 2005
On Mon, 2005-10-31 at 15:23 +1100, Paul Mackerras wrote:
> It is now possible to build kernels for powermac, pSeries, iSeries and
> maple with ARCH=powerpc, and for powermac, both 32-bit and 64-bit
> build and run.
The ppc64 build (http://david.woodhou.se/powerpc-merge-64.config) fares
worse than ppc32 for me -- it doesn't even build.
arch/powerpc/platforms/powermac/pic.c:614: error: ‘ppc_cached_irq_mask’ undeclared (first use in this function)
arch/powerpc/platforms/powermac/pic.c:620: error: ‘pmac_irq_hw’ undeclared (first use in this function)
arch/powerpc/platforms/powermac/pic.c:621: error: ‘max_real_irqs’ undeclared (first use in this function)
arch/powerpc/platforms/powermac/pic.c:641: warning: implicit declaration of function ‘pmac_unmask_irq’
If I leave CONFIG_ADB_PMU enabled (as I think I should since some G5s
have it?) I also see this:
drivers/macintosh/via-pmu.c:2410: undefined reference to `.pmac_tweak_clock_spreading'
drivers/macintosh/via-pmu.c:2494: undefined reference to `.set_context'
drivers/macintosh/via-pmu.c:2670: undefined reference to `._nmask_and_or_msr'
drivers/macintosh/via-pmu.c:2592: undefined reference to `.set_context'
If I turn CONFIG_ADB_PMU off, I see this:
arch/powerpc/platforms/powermac/time.c:335: undefined reference to `.pmu_register_sleep_notifier'
I think I'll leave the task of switching the Fedora rawhide kernel to
arch/powerpc to another day :)
--
dwmw2
More information about the Linuxppc64-dev
mailing list