Re: [PATCH] Fix compilation of 2.6.16-rt13 real-time preemption patch on PowerPC

From: Ingo Molnar
Date: Sat Apr 08 2006 - 09:53:22 EST



* Walter L. Wimer III <walt.wimer@xxxxxxxxxxx> wrote:

> The following patch corrects errors encountered when compiling the
> 2.6.16-rt13 real-time preemption patch on the PowerPC architecture:
>
> * The INIT_FS and INIT_FILES macro definitions changed, but
> corresponding changes to the calls were missed on PowerPC.
>
> * The new TIF_NEED_RESCHED_DELAYED definition caused an overflow
> of a 16-bit immediate load field in several PowerPC
> assembly-language instructions (e.g. in entry.S). This patch
> changes the definition of TIF_NEED_RESCHED_DELAYED from the
> value 16 to the value 13 (which appears to have been previously
> unused). (All bits from 0 to 15 are now in use on PPC, so if
> any new thread_info flags are needed, we'll have to actually fix
> the PPC assembly code to deal with the resulting 32-bit
> quantity.)
>
> * The file include/asm-powerpc/irqflags.h was missing completely
> on PowerPC. For now, I've supplied a stub file. There is
> currently no support for CONFIG_DEBUG_TRACE_IRQFLAGS.
>
> Thanks go to Thomas Gleixner for his comments/suggestions on this
> patch.
>
> I've successfully built and test-booted this on an AMCC440EP "Bamboo"
> board.

thanks, applied.

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