* [PATCH] fsl-rio: fix compile error
@ 2011-11-11 13:48 Liu Gang
2011-11-11 15:48 ` Paul Gortmaker
2011-11-11 16:49 ` Bounine, Alexandre
0 siblings, 2 replies; 4+ messages in thread
From: Liu Gang @ 2011-11-11 13:48 UTC (permalink / raw)
To: linuxppc-dev, Alexandre.Bounine
Cc: r58472, linux-kernel, r61911, paul.gortmaker, Liu Gang, akpm,
B11780
The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
in the patch "powerpc: various straight conversions from module.h --> export.h".
This will cause the following compile problem:
arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
The file fsl_rio.c needs the declaration of function "search_exception_tables"
in the header file "linux/module.h".
Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
---
arch/powerpc/sysdev/fsl_rio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index de170fd..22ffccd 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -23,7 +23,7 @@
*/
#include <linux/init.h>
-#include <linux/export.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
--
1.7.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] fsl-rio: fix compile error
2011-11-11 13:48 [PATCH] fsl-rio: fix compile error Liu Gang
@ 2011-11-11 15:48 ` Paul Gortmaker
2011-11-12 5:42 ` Liu Gang-B34182
2011-11-11 16:49 ` Bounine, Alexandre
1 sibling, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2011-11-11 15:48 UTC (permalink / raw)
To: Liu Gang
Cc: r58472, linux-kernel, r61911, Alexandre.Bounine, akpm,
linuxppc-dev, B11780
On 11-11-11 08:48 AM, Liu Gang wrote:
> The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
> in the patch "powerpc: various straight conversions from module.h --> export.h".
> This will cause the following compile problem:
> arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
> arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
>
> The file fsl_rio.c needs the declaration of function "search_exception_tables"
> in the header file "linux/module.h".
Thanks -- not sure why this never showed up in my builds of all the
powerpc configs, _or_ the linux-next builds. Maybe srio isn't enabled
in any of them?
In any case it looks fine to me. Having the search_exception_tables
live in module.h seems odd, but that is an independent issue for later.
I can queue this unless someone else has already done so.
Paul.
>
> Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
> ---
> arch/powerpc/sysdev/fsl_rio.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
> index de170fd..22ffccd 100644
> --- a/arch/powerpc/sysdev/fsl_rio.c
> +++ b/arch/powerpc/sysdev/fsl_rio.c
> @@ -23,7 +23,7 @@
> */
>
> #include <linux/init.h>
> -#include <linux/export.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/dma-mapping.h>
> #include <linux/interrupt.h>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] fsl-rio: fix compile error
2011-11-11 15:48 ` Paul Gortmaker
@ 2011-11-12 5:42 ` Liu Gang-B34182
0 siblings, 0 replies; 4+ messages in thread
From: Liu Gang-B34182 @ 2011-11-12 5:42 UTC (permalink / raw)
To: 'Paul Gortmaker'
Cc: Li Yang-R58472, 'linux-kernel@vger.kernel.org',
Zang Roy-R61911, 'Alexandre.Bounine@idt.com',
'akpm@linux-foundation.org',
'linuxppc-dev@lists.ozlabs.org', Gala Kumar-B11780
Yes, I'm afraid srio was not enabled when you compiled.
Regards,
Liu Gang
-----Original Message-----
From: Paul Gortmaker [mailto:paul.gortmaker@windriver.com]=20
Sent: Friday, November 11, 2011 11:48 PM
To: Liu Gang-B34182
Cc: linuxppc-dev@lists.ozlabs.org; Alexandre.Bounine@idt.com; akpm@linux-fo=
undation.org; linux-kernel@vger.kernel.org; Li Yang-R58472; Gala Kumar-B117=
80; Zang Roy-R61911
Subject: Re: [PATCH] fsl-rio: fix compile error
On 11-11-11 08:48 AM, Liu Gang wrote:
> The "#include <linux/module.h>" was replaced by "#include <linux/export.h=
>"
> in the patch "powerpc: various straight conversions from module.h --> exp=
ort.h".
> This will cause the following compile problem:
> arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
> arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of functio=
n 'search_exception_tables'.
>=20
> The file fsl_rio.c needs the declaration of function "search_exception_ta=
bles"
> in the header file "linux/module.h".
Thanks -- not sure why this never showed up in my builds of all the powerpc=
configs, _or_ the linux-next builds. Maybe srio isn't enabled in any of t=
hem?=20
In any case it looks fine to me. Having the search_exception_tables live i=
n module.h seems odd, but that is an independent issue for later.
I can queue this unless someone else has already done so.
Paul.
>=20
> Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
> ---
> arch/powerpc/sysdev/fsl_rio.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>=20
> diff --git a/arch/powerpc/sysdev/fsl_rio.c=20
> b/arch/powerpc/sysdev/fsl_rio.c index de170fd..22ffccd 100644
> --- a/arch/powerpc/sysdev/fsl_rio.c
> +++ b/arch/powerpc/sysdev/fsl_rio.c
> @@ -23,7 +23,7 @@
> */
> =20
> #include <linux/init.h>
> -#include <linux/export.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/dma-mapping.h>
> #include <linux/interrupt.h>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] fsl-rio: fix compile error
2011-11-11 13:48 [PATCH] fsl-rio: fix compile error Liu Gang
2011-11-11 15:48 ` Paul Gortmaker
@ 2011-11-11 16:49 ` Bounine, Alexandre
1 sibling, 0 replies; 4+ messages in thread
From: Bounine, Alexandre @ 2011-11-11 16:49 UTC (permalink / raw)
To: Liu Gang, linuxppc-dev
Cc: r58472, linux-kernel, r61911, paul.gortmaker, akpm, B11780
On Fri, Nov 11, 2011 at 8:48 AM Liu Gang <Gang.Liu@freescale.com> wrote:
> Sent: Friday, November 11, 2011 8:48 AM
> To: linuxppc-dev@lists.ozlabs.org; Bounine, Alexandre
> Cc: akpm@linux-foundation.org; linux-kernel@vger.kernel.org;
> paul.gortmaker@windriver.com; r58472@freescale.com;
> B11780@freescale.com; r61911@freescale.com; Liu Gang
> Subject: [PATCH] fsl-rio: fix compile error
>=20
> The "#include <linux/module.h>" was replaced by "#include
> <linux/export.h>"
> in the patch "powerpc: various straight conversions from module.h -->
> export.h".
> This will cause the following compile problem:
> arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
> arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of
> function 'search_exception_tables'.
>=20
> The file fsl_rio.c needs the declaration of function
> "search_exception_tables"
> in the header file "linux/module.h".
>=20
> Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
> ---
> arch/powerpc/sysdev/fsl_rio.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>=20
> diff --git a/arch/powerpc/sysdev/fsl_rio.c
> b/arch/powerpc/sysdev/fsl_rio.c
> index de170fd..22ffccd 100644
> --- a/arch/powerpc/sysdev/fsl_rio.c
> +++ b/arch/powerpc/sysdev/fsl_rio.c
> @@ -23,7 +23,7 @@
> */
>=20
> #include <linux/init.h>
> -#include <linux/export.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/dma-mapping.h>
> #include <linux/interrupt.h>
> --
> 1.7.3.1
>=20
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-12 5:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 13:48 [PATCH] fsl-rio: fix compile error Liu Gang
2011-11-11 15:48 ` Paul Gortmaker
2011-11-12 5:42 ` Liu Gang-B34182
2011-11-11 16:49 ` Bounine, Alexandre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).