powerpc/85xx: fix build failure from p1022 in SMP defconfig
Subsystems (2)
PATCH 1/1 powerpc/85xx: fix build failure from p1022 in SMP defconfig
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.
arch/powerpc/platforms/85xx/p1022_ds.c +1 -0
@@ -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"
Signature · 1 line
1.7.7.2
Quoted 3 lines · Paul Gortmaker
Using the configs/mpc85xx_smp_defconfig shows this build error:
arch/powerpc/platforms/85xx/p1022_ds.c:341: error: 'udbg_progress' undecl=
ared here (not in a function)
Quoted 2 lines
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.
arch/powerpc/platfo=
Quoted 4 lines
Signed-off-by Paul Gortmaker <[email protected]>arch/powerpc/platfo= renamed from arch/powerpc/platforms/85xx/p1022_ds.c +0
-0
rms/85xx/p1022_ds.c
Quoted 18 lines
index bb3d84f..aa4022e 100644
arch/powerpc/platforms/85xx/p1022_ds.c +0
-0@@ -26,6 +26,7 @@=A0#include <
sysdev/fsl_soc.h>
=A0#include <sysdev/fsl_pci.h>
=A0#include <asm/fsl_guts.h>
+#include <asm/udbg.h>
=A0#include "smp.h"=A0#include "
mpc85xx.h"
--
1.7.7.2_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
Quoted 5 lines · Paul Gortmaker
Quoted 3 lines · Paul Gortmaker
Using the configs/mpc85xx_smp_defconfig shows this build error:
=20arch/powerpc/platforms/85xx/p1022_ds.c:341: error: 'udbg_progress' =
undeclared here (not in a function)
Quoted 11 lines
Quoted 2 lines
=20
Adding in the obvious missing header <asm/udbg.h> fixes it.=20
I just noticed this fix is a duplicate, it seems that it was already queued back in Dec 11th last year:
=20
http://patchwork.ozlabs.org/patch/130620/
=20
...but for one reason or another didn't make it into 3.3-rc1. =20
P.
Ben just missed my pull request with it before 3.3-rc1. Should get into = rc2 or I'll have to get someone in ozlabs to beat ben for me ;)
- k=
Quoted 2 lines · Kumar Gala
Ben just missed my pull request with it before 3.3-rc1. Should get into rc2 or I'll have to get someone in ozlabs to beat ben for me ;)
Working on it :-)
Cheers,
Ben.