Blackfin: fix addr type with bfin_write_{or,and} helpers
commit7a7a430f7498cd55820232d8e3f144161138f91a
authorMike Frysinger <vapier@gentoo.org>
Thu, 19 May 2011 00:46:03 +0000 (18 20:46 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 May 2011 12:24:13 +0000 (25 08:24 -0400)
tree891b1bf4f9df8d7a165cae1fc5707c569251673e
parent934fe05bf0c743896b478fe3558a282911cfe621
Blackfin: fix addr type with bfin_write_{or,and} helpers

Since the bfin_write() func needs proper type information in order to
expand into the right bfin_writeX() variant, preserve the addr's type
when setting up the local __addr.  Otherwise the helpers will detect
the variant based upon sizeof(void) which is almost never right.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/def_LPBlackfin.h