lkml.org 
[lkml]   [2002]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 64-bit jiffies, a better solution take 2
Russell King wrote:
>
> On Fri, May 10, 2002 at 05:42:46PM -0700, george anzinger wrote:
> > diff -urP -I \$Id:.*Exp \$ -X /usr/src/patch.exclude linux-2.5.14-org/arch/arm/vmlinux-armo.lds.in linux/arch/arm/vmlinux-armo.lds.in
> > --- linux-2.5.14-org/arch/arm/vmlinux-armo.lds.in Tue May 7 15:59:35 2002
> > +++ linux/arch/arm/vmlinux-armo.lds.in Fri May 10 17:07:31 2002
> > @@ -4,6 +4,7 @@
> > */
> > OUTPUT_ARCH(arm)
> > ENTRY(stext)
> > +jiffies = jiffies_64 + 4;
> > SECTIONS
> > {
> > . = TEXTADDR;
> > diff -urP -I \$Id:.*Exp \$ -X /usr/src/patch.exclude linux-2.5.14-org/arch/arm/vmlinux-armv.lds.in linux/arch/arm/vmlinux-armv.lds.in
> > --- linux-2.5.14-org/arch/arm/vmlinux-armv.lds.in Tue May 7 15:59:35 2002
> > +++ linux/arch/arm/vmlinux-armv.lds.in Fri May 10 17:07:34 2002
> > @@ -4,6 +4,7 @@
> > */
> > OUTPUT_ARCH(arm)
> > ENTRY(stext)
> > +jiffies = jiffies_64 + 4;
> > SECTIONS
> > {
> > . = TEXTADDR;
>
> Eurgh. This seems to be a popular misconception. What makes you think
> ARM is big endian, or was it just a guess?
>

From byteorder.h:

#ifdef __ARMEB__
#include <linux/byteorder/big_endian.h>
#else
#include <linux/byteorder/little_endian.h>
#endif

So, yes, given no hints on who or what configures __ARMEB__. Is it always little endian?
--
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.472 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site