Re: 2.6.19-rc6-rt8

From: Hu Gang
Date: Tue Nov 28 2006 - 20:22:31 EST


On Mon, 27 Nov 2006 10:49:27 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

> i have released the 2.6.19-rc6-rt8 tree, which can be downloaded from
> the usual place:
>
> http://redhat.com/~mingo/realtime-preempt/

attached patch to making it compile and works in my PowerBook G4.


Index: linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c
===================================================================
--- linux-2.6.19-rc6-rt5.orig/arch/powerpc/kernel/time.c 2006-11-28 22:13:54.000000000 +0000
+++ linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c 2006-11-28 22:15:48.000000000 +0000
@@ -507,7 +507,7 @@
if (per_cpu(last_jiffy, cpu) >= tb_next_jiffy) {
tb_last_jiffy = tb_next_jiffy;
do_timer(1);
- timer_recalc_offset(tb_last_jiffy);
+ /*timer_recalc_offset(tb_last_jiffy);*/
timer_check_rtc();
}
write_sequnlock(&xtime_lock);
Index: linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h
===================================================================
--- linux-2.6.19-rc6-rt5.orig/include/asm-powerpc/semaphore.h 2006-11-28 22:13:54.000000000 +0000
+++ linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h 2006-11-28 22:15:48.000000000 +0000
@@ -10,7 +10,7 @@

#ifdef __KERNEL__

-#include <linux/config.h>
+/*#include <linux/config.h>*/
#include <asm/atomic.h>
#include <asm/system.h>
#include <linux/wait.h>
Index: linux-2.6.19-rc6-rt5/mm/page_alloc.c
===================================================================
--- linux-2.6.19-rc6-rt5.orig/mm/page_alloc.c 2006-11-28 22:13:54.000000000 +0000
+++ linux-2.6.19-rc6-rt5/mm/page_alloc.c 2006-11-28 22:15:48.000000000 +0000
@@ -2800,7 +2800,9 @@

void __init page_alloc_init(void)
{
+#ifdef CONFIG_HOTPLUG_CPU
hotcpu_notifier(page_alloc_cpu_notify, 0);
+#endif
}

/*
-
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/