===== arch/ia64/kernel/head.S 1.1 vs edited ===== --- 1.1/arch/ia64/kernel/head.S Fri Oct 3 23:00:15 2003 +++ edited/arch/ia64/kernel/head.S Wed Oct 8 13:37:45 2003 @@ -147,7 +147,7 @@ cmp4.ne isAP,isBP=r3,r0 ;; // RAW on r2 extr r3=r2,0,61 // r3 == phys addr of task struct - mov r16=KERNEL_TR_PAGE_NUM + mov r16=(KERNEL_START - PAGE_OFFSET) / IA64_GRANULE_SIZE ;; // load the "current" pointer (r13) and ar.k6 with the current task