Re: 64-bit jiffies, a better solution
george anzinger (george@mvista.com)
Fri, 10 May 2002 15:36:12 -0700
Linus Torvalds wrote:
>
> On Fri, 10 May 2002, george anzinger wrote:
> >
> > should work. So here is a solution that does all the above and does
> > NOT invade new name spaces:
>
> Ok, looks fine, but I'd really rather move the "jiffies" linker games
> into the per-architecture stuff, and get rid of the jiffies_at_jiffies_64
> games.
>
> It's just one line per architecture, after all.
>
> Linus
If that were only true. The problem is that some architectures can be
built with either endian. Mips, for example, seems to take the endian
stuff in as an environment variable. The linker seems to know this
stuff, but does not provide the "built in" to allow it to be used.
The info is available from the header files at compile time, but I could
not find a clean way to export it to the Makefile, where we might choose
which linker script to use. I suppose we could run the linker script
thru cpp if all else fails. Any ideas?
--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/