[PATCH] ppc64: Move ppc64_enable_pmcs() logic into a ppc_md function
Paul Mackerras
paulus at samba.org
Tue Aug 9 16:48:29 EST 2005
Michael Ellerman writes:
> David asked me to put power4_enable_pmcs() in arch/ppc64/kernel/pmc.c, so
> here's an updated (again) version.
> Index: work/arch/ppc64/kernel/pmac_setup.c
> ===================================================================
> --- work.orig/arch/ppc64/kernel/pmac_setup.c
> +++ work/arch/ppc64/kernel/pmac_setup.c
> @@ -71,6 +71,7 @@
> #include <asm/of_device.h>
> #include <asm/lmb.h>
> #include <asm/smu.h>
> +#include <asm/pmc.h>
>
> #include "pmac.h"
> #include "mpic.h"
> @@ -511,4 +512,5 @@ struct machdep_calls __initdata pmac_md
> .progress = pmac_progress,
> .check_legacy_ioport = pmac_check_legacy_ioport,
> .idle_loop = native_idle,
> + .enable_pmcs = power4_enable_cpus,
That should be power4_enable_pmcs...
Regards,
Paul.
More information about the Linuxppc64-dev
mailing list