Support sparcv9 32-bit build
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 16 Nov 2009 20:27:50 +0000 (15:27 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 16 Nov 2009 20:27:50 +0000 (15:27 -0500)
commit795d506a10a06e05380ff275f31c588ca1e2cee8
tree15edb159dd0935e810c4a8509a95e1a597cad4ed
parent24c9669da03d2558d80f4c990539765e887ae010
Support sparcv9 32-bit build

From: David Miller <davem@davemloft.net>
Subject: Re: [ltt-dev] Sparc64 support added to Userspace RCU

From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Date: Thu, 22 Oct 2009 15:57:53 -0400

> Feedback is welcome,

__sparc_v8__ does not mean 64-bit longs or pointers as implied here:

"v8" was the last 32-bit standard of the cpu architecture.

Otherwise looks fine.

Although this port won't be very useful until it can be built in
32-bit mode.  As most applications on sparc64 systems are still
32-bit.  Like on powerpc, people only rarely build things 64-bit on
sparc64.

You need to build with "-Wa,-Av9a" on the GCC command line for that
case so that the assembler allows the v9 instructions emitted by your
macros, even when building for 32-bit.

Hope this helps.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: David Miller <davem@davemloft.net>
README
urcu/uatomic_arch_sparc64.h
This page took 0.0257 seconds and 4 git commands to generate.