asm-generic: add generic atomic.h and io.h
commit3f7e212df82ca0459d44c91d9e019efd1b5f936c
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 May 2009 22:56:35 +0000 (13 22:56 +0000)
committerArnd Bergmann <arnd@klappe2.(none)>
Thu, 11 Jun 2009 19:02:49 +0000 (11 21:02 +0200)
tree84337ba8a1702b0275fef239283aaa6dd2bc7c22
parentae49e807951d5e26767bc55d1dc29671c596c450
asm-generic: add generic atomic.h and io.h

atomic.h and io.h are based on the mn10300 architecture,
which is already pretty generic and can be used by
other architectures that do not have hardware support
for atomic operations or out-of-order I/O access.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/atomic.h [new file with mode: 0644]
include/asm-generic/io.h [new file with mode: 0644]