mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 04:32:41 +00:00
[POWERPC] Add clrbits8 and setbits8
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
4b218e9bb2
commit
12cdac34c6
1 changed files with 3 additions and 0 deletions
|
@ -734,6 +734,9 @@ static inline void * bus_to_virt(unsigned long address)
|
|||
#define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v))
|
||||
#define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
|
||||
|
||||
#define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v))
|
||||
#define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v))
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _ASM_POWERPC_IO_H */
|
||||
|
|
Loading…
Reference in a new issue