From: Roland Vossen Date: Wed, 1 Jun 2011 11:44:53 +0000 (+0200) Subject: staging: brcm80211: replaced #ifdef __mips__ sections by W_REG_FLUSH X-Git-Tag: v3.1-rc1~232^2~568^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a9a25eec0b55ea45e22710a9bcaf9690cb42fe6;p=pandora-kernel.git staging: brcm80211: replaced #ifdef __mips__ sections by W_REG_FLUSH Code cleanup. A read-after-write construct is present in the code to ensure write order for certain Broadcom chips. Those chips are: bcm4706, bcm4716, bcm4717, bcm4718. All these chips contain a MIPS processor. This patch gets rid of several #ifdef __mips__ sections by defining a new macro in a header file. This patch does not introduce behavioral changes and is purely meant for code cleanup. The __mips__ define will be made more specific in a future patch. Signed-off-by: Roland Vossen Reviewed-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed