I am wondering what branch you are working off of, because there does
not appear to be any instance of CONFIG_MIPS64 in the 2.6.24 uprev
branch which is the latest upstream branch for the kernel.org submission.

It appears to have already been fixed a while back:

The current arch/mips/kernel/kgdb-jmp.c
[snip]
+#include <linux/kgdb.h>
+
+#ifdef CONFIG_64BIT
+/*
+ * MIPS 64-bit
+ */
+
+int kgdb_fault_setjmp_aux(unsigned long *curr_context, unsigned long sp,
[snip]

Jason.

Michael Snyder wrote:
> 2007-12-11  Jim Wilson  <[EMAIL PROTECTED]>
>
>       * kgdb-jmp.c: Use CONFIG_64BIT not CONFIG_MIPS64.
>       * kgdb-setjmp.S: Use CONFIG_64BIT not CONFIG_MIPS64.
>
> Index: uncollapsed/arch/mips/kernel/kgdb-jmp.c
> ===================================================================
> --- uncollapsed.orig/arch/mips/kernel/kgdb-jmp.c
> +++ uncollapsed/arch/mips/kernel/kgdb-jmp.c
> @@ -19,7 +19,7 @@
>  #include <linux/kgdb.h>
>  #include <asm/interrupt.h>
>  
> -#ifdef CONFIG_MIPS64
> +#ifdef CONFIG_64BIT
>  /*
>   * MIPS 64-bit
>   */
> Index: uncollapsed/arch/mips/kernel/kgdb-setjmp.S
> ===================================================================
> --- uncollapsed.orig/arch/mips/kernel/kgdb-setjmp.S
> +++ uncollapsed/arch/mips/kernel/kgdb-setjmp.S
> @@ -22,7 +22,7 @@
>  ENTRY (kgdb_fault_setjmp)
>       move    a1, sp
>       move    a2, fp
> -#ifdef CONFIG_MIPS64
> +#ifdef CONFIG_64BIT
>       nop
>  #endif
>       j       kgdb_fault_setjmp_aux
>
>
>   


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to