Re: git pull on ia64 linux tree

Simon Horman
2007-05-08T07:26:23Z

On Tue, May 08, 2007 at 09:13:18AM +0800, Zou Nan hai wrote:
>
> Hi Tony,
> If the per-cpu TR entry is removed,
> I think the relocate_kernel.S also need a fix to remove the per-cpu TR
> purge code.

Just to clarify, is this what you are thinking about?
If so, it seems sensible to me.

Index: linux-2.6-ia64/arch/ia64/kernel/relocate_kernel.S
=================================--- linux-2.6-ia64.orig/arch/ia64/kernel/relocate_kernel.S 2007-05-08 16:15:05.000000000 +0900
+++ linux-2.6-ia64/arch/ia64/kernel/relocate_kernel.S 2007-05-08 16:25:23.000000000 +0900
@@ -104,15 +104,6 @@ GLOBAL_ENTRY(relocate_new_kernel)
srlz.i
;;

- // purge TR entry for percpu data
- movl r16=PERCPU_ADDR
- mov r18=PERCPU_PAGE_SHIFT<<2
- ;;
- ptr.d r16,r18
- ;;
- srlz.d
- ;;
-
// purge TR entry for pal code
mov r16=in3
mov r18=IA64_GRANULE_SHIFT<<2