Re: [PATCH] [2.5] asm-generic/atomic.h and changes to arm, parisc,

Luca Barbieri (ldb@ldb.ods.org)
09 Aug 2002 00:11:21 +0200


--=-K6l+RS9sDatQluOl+1sb
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

> Why did you change m68k? It was fine before.

- Didn't implement atomic_{add,sub,inc,dec}_return. This is currently
not used in the generic kernel but it can be useful.
- Had inline assembly for things the compiler should be able to generate
on its own
- Didn't work on SMP (irrelevant in practice, but we already need that
in asm-generic/atomic.h for parisc so m68k gets it for free)

The actual assembly generated should be the same and the header is
shorter.

The only problem is that it may introduce bugs. Does it work on m68k?

--=-K6l+RS9sDatQluOl+1sb
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9UuyJdjkty3ft5+cRAo40AJ4sgAJVFr2yzNSfCFeyB8USvjq8XgCbBohB
/HD18mau4j/0baybE2bOd+c=
=I+4X
-----END PGP SIGNATURE-----

--=-K6l+RS9sDatQluOl+1sb--
-
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/