[PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c - Kernel

This is a discussion on [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c - Kernel ; Hi Andrew, The kernel builds fails with following error, with randconfig CC arch/powerpc/mm/stab.o arch/powerpc/mm/stab.c: In function ‘stab_initialize’: arch/powerpc/mm/stab.c:282: error: implicit declaration of function ‘HvCall1’ arch/powerpc/mm/stab.c:282: error: ‘HvCallBaseSetASR’ undeclared (first use in this function) arch/powerpc/mm/stab.c:282: error: (Each undeclared identifier is reported ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

  1. [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

    Hi Andrew,

    The kernel builds fails with following error, with randconfig

    CC arch/powerpc/mm/stab.o
    arch/powerpc/mm/stab.c: In function ‘stab_initialize’:
    arch/powerpc/mm/stab.c:282: error: implicit declaration of function ‘HvCall1’
    arch/powerpc/mm/stab.c:282: error: ‘HvCallBaseSetASR’ undeclared (first use in this function)
    arch/powerpc/mm/stab.c:282: error: (Each undeclared identifier is reported only once
    arch/powerpc/mm/stab.c:282: error: for each function it appears in.)
    make[1]: *** [arch/powerpc/mm/stab.o] Error 1
    make: *** [arch/powerpc/mm] Error 2

    Signed-off-by: Kamalesh Babulal
    --
    --- linux-2.6.24-rc2/arch/powerpc/mm/stab.c 2007-11-14 05:22:55.000000000 -0500
    +++ linux-2.6.24-rc2/arch/powerpc/mm/~stab.c 2007-11-14 05:23:18.000000000 -0500
    @@ -21,6 +21,10 @@
    #include
    #include

    +#ifdef CONFIG_PPC_ISERIES
    +#include
    +#endif /* CONFIG_PPC_ISERIES */
    +
    struct stab_entry {
    unsigned long esid_data;
    unsigned long vsid_data;

    --
    Thanks & Regards,
    Kamalesh Babulal,
    Linux Technology Center,
    IBM, ISTL.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

    Hi Kamalesh,

    On Wed, 14 Nov 2007 16:24:10 +0530 Kamalesh Babulal wrote:
    >
    > +#ifdef CONFIG_PPC_ISERIES
    > +#include
    > +#endif /* CONFIG_PPC_ISERIES */


    You should not need the #ifdef and we prefer not to ifdef include unless
    necessary. Please resubmit.

    --
    Cheers,
    Stephen Rothwell sfr@canb.auug.org.au
    http://www.canb.auug.org.au/~sfr/

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFHQPc+TgG2atn1QN8RAh1RAJ47QqPkhtAVx4E+cQrivY hDDiqB6ACggkrS
    T7OqZN4gyXYmukKyGdprf+8=
    =JXY1
    -----END PGP SIGNATURE-----


  3. [PATCH-RESEND] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

    Hi Stephen,

    Resubmitting the patch titled
    powerpc-iseries-build-failure-mm-stabc.patch in the -mm tree.

    Signed-off-by: Kamalesh Babulal
    --
    --- linux-2.6.24-rc2/arch/powerpc/mm/stab.c 2007-11-07 03:27:46.000000000 +0530
    +++ linux-2.6.24-rc2/arch/powerpc/mm/~stab.c 2007-11-19 19:43:55.000000000 +0530
    @@ -20,6 +20,7 @@
    #include
    #include
    #include
    +#include

    struct stab_entry {
    unsigned long esid_data;

    --
    Thanks & Regards,
    Kamalesh Babulal,
    Linux Technology Center,
    IBM, ISTL.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

    From: Kamalesh Babulal

    The kernel builds fails with following error, with randconfig

    CC arch/powerpc/mm/stab.o
    arch/powerpc/mm/stab.c: In function ‘stab_initialize’:
    arch/powerpc/mm/stab.c:282: error: implicit declaration of function ‘HvCall1’
    arch/powerpc/mm/stab.c:282: error: ‘HvCallBaseSetASR’ undeclared (first use in this function)
    arch/powerpc/mm/stab.c:282: error: (Each undeclared identifier is reported only once
    arch/powerpc/mm/stab.c:282: error: for each function it appears in.)
    make[1]: *** [arch/powerpc/mm/stab.o] Error 1
    make: *** [arch/powerpc/mm] Error 2

    Signed-off-by: Kamalesh Babulal
    Acked-by: Stephen Rothwell
    ---
    arch/powerpc/mm/stab.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    On Mon, 19 Nov 2007 11:56:11 +0530 Kamalesh Babulal wrote:
    >
    > Resubmitting the patch titled
    > powerpc-iseries-build-failure-mm-stabc.patch in the -mm tree.


    Paulus, this should be fine for merging like above.

    Cheers,
    Stephen Rothwell sfr@canb.auug.org.au

    diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c
    index 9e85bda..50448d5 100644
    --- a/arch/powerpc/mm/stab.c
    +++ b/arch/powerpc/mm/stab.c
    @@ -20,6 +20,7 @@
    #include
    #include
    #include
    +#include

    struct stab_entry {
    unsigned long esid_data;
    --
    1.5.3.5

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread