From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: David Woodhouse To: Paul Mackerras In-Reply-To: <17253.39993.502458.390760@cargo.ozlabs.ibm.com> References: <17253.39993.502458.390760@cargo.ozlabs.ibm.com> Content-Type: text/plain; charset=UTF-8 Date: Tue, 01 Nov 2005 16:06:47 +0000 Message-Id: <1130861207.21212.66.camel@hades.cambridge.redhat.com> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, linuxppc64-dev@ozlabs.org Subject: Re: please pull the powerpc-merge.git tree List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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