Re: 2.1.110 breaks non-Intel architectures...

Linus Torvalds (torvalds@transmeta.com)
Tue, 21 Jul 1998 21:34:41 -0700 (PDT)


On Wed, 22 Jul 1998, Dominik Kubla wrote:
>
> looks like something has gone wrong in 2.1.100:
>
> mm/vmalloc.c: will not compile on any non-intel architecture, because
> VMALLOC_END is not defined except for Intel
> (-> asm-i386/pgtable.h)

Uhhuh. It should probably default to ~0UL or something like that.

> include/linux/sched.h: debugreg[] moved to thread structure
> (-> asm-i386/processor.h) this also breaks all non-Intel
> platforms.

This is definitely architecture-specific, I didn't realize that anybody
else had them in use. It's fairly easy to resurrect any architecture that
needs it to have their own copy in their thread-structure.

There's another (bigger) thing that breaks other architectures, and that's
the "need_resched" flag that used to be global and now isn't (it's part of
the task structure). I didn't have time to fix up the other ports for
this, but it shoul dbe easy to do for people who are used to this, and it
makes a ton of sense both for performance and for SMP.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html