asm-generic/io.h: add reads[bwl]/writes[bwl] helpers
commitefb2d31c1c62de9a0e42b2b1981d1a90fc0b4618
authorMike Frysinger <vapier@gentoo.org>
Wed, 27 Oct 2010 01:52:59 +0000 (26 21:52 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:03 +0000 (10 07:18 -0500)
tree02696675f9365c97fa079f0b6960cbe97d4e1e62
parent21aa8ec362b59458bea1144494ae53ca2d8b13ed
asm-generic/io.h: add reads[bwl]/writes[bwl] helpers

A bunch of arches define reads[bwl]/writes[bwl] helpers for accessing
memory mapped registers.  Since the Blackfin ones aren't specific to
Blackfin code, move them to the common asm-generic/io.h for people.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/io.h
include/asm-generic/io.h