George Azinger is pushing a jiffies_64 patch to Linus. MIPS is currently not supported in his patch. This is a crude attempt to fix it. Untested. I am less sure about elf32 ld.script for mips64. Do we have 64bit long variable in that case? Jun diff -Nru link/arch/mips/Makefile.orig link/arch/mips/Makefile --- link/arch/mips/Makefile.orig Tue Mar 5 23:44:49 2002 +++ link/arch/mips/Makefile Mon May 13 11:52:26 2002 @@ -353,7 +353,12 @@ vmlinux: arch/$(ARCH)/ld.script arch/$(ARCH)/ld.script: arch/$(ARCH)/ld.script.in arch/$(ARCH)/Makefile - sed -e 's/@@LOADADDR@@/$(LOADADDR)/' <$< >$@ +ifdef CONFIG_CPU_LITTLE_ENDIAN + sed -e 's/@@LOADADDR@@/$(LOADADDR)/; s/@@JIFFY_64_OFFSET@@//' <$< >$@ +else + sed -e 's/@@LOADADDR@@/$(LOADADDR)/; s/@@JIFFY_64_OFFSET@@/+ 4/' <$< >$@ +endif + LINKFLAGS += -T arch/$(ARCH)/ld.script HEAD := arch/mips/kernel/head.o arch/mips/kernel/init_task.o diff -Nru link/arch/mips/ld.script.in.orig link/arch/mips/ld.script.in --- link/arch/mips/ld.script.in.orig Thu May 10 14:01:25 2001 +++ link/arch/mips/ld.script.in Mon May 13 11:51:46 2002 @@ -1,5 +1,6 @@ OUTPUT_ARCH(mips) ENTRY(kernel_entry) +jiffies = jiffies_64 @@JIFFY_64_OFFSET@@; SECTIONS { /* Read-only sections, merged into text segment: */ diff -Nru link/arch/mips64/ld.script.elf32.S.orig link/arch/mips64/ld.script.elf32.S --- link/arch/mips64/ld.script.elf32.S.orig Wed Oct 3 08:19:21 2001 +++ link/arch/mips64/ld.script.elf32.S Mon May 13 13:59:27 2002 @@ -1,5 +1,6 @@ OUTPUT_ARCH(mips) ENTRY(kernel_entry) +jiffies = jiffies_64; SECTIONS { /* Read-only sections, merged into text segment: */ diff -Nru link/arch/mips64/ld.script.elf64.orig link/arch/mips64/ld.script.elf64 --- link/arch/mips64/ld.script.elf64.orig Wed Oct 3 08:19:21 2001 +++ link/arch/mips64/ld.script.elf64 Mon May 13 13:59:53 2002 @@ -1,5 +1,6 @@ OUTPUT_ARCH(mips) ENTRY(kernel_entry) +jiffies = jiffies_64; SECTIONS { /* Read-only sections, merged into text segment: */