[PATCH] powerpc/85xx: fix build failure from p1022 in SMP defconfig
Paul Gortmaker
paul.gortmaker at windriver.com
Sun Jan 22 02:50:02 EST 2012
On Sat, Jan 21, 2012 at 9:52 AM, Paul Gortmaker
<paul.gortmaker at windriver.com> wrote:
> Using the configs/mpc85xx_smp_defconfig shows this build error:
>
> arch/powerpc/platforms/85xx/p1022_ds.c:341: error: 'udbg_progress' undeclared here (not in a function)
>
> Adding in the obvious missing header <asm/udbg.h> fixes it.
I just noticed this fix is a duplicate, it seems that it was already
queued back in Dec 11th last year:
http://patchwork.ozlabs.org/patch/130620/
...but for one reason or another didn't make it into 3.3-rc1.
P.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
>
> diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c
> index bb3d84f..aa4022e 100644
> --- a/arch/powerpc/platforms/85xx/p1022_ds.c
> +++ b/arch/powerpc/platforms/85xx/p1022_ds.c
> @@ -26,6 +26,7 @@
> #include <sysdev/fsl_soc.h>
> #include <sysdev/fsl_pci.h>
> #include <asm/fsl_guts.h>
> +#include <asm/udbg.h>
> #include "smp.h"
>
> #include "mpc85xx.h"
> --
> 1.7.7.2
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list