Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80eda683 authored by Manohar Vavilapalli's avatar Manohar Vavilapalli Committed by Gerrit - the friendly Code Review server
Browse files

arm: io: add missing readq_no_log(c)



Add the missing readq_no_log(c) to support the 32 bit ARM.

Change-Id: If799298cb4f50820afe8a6afc849405875b43a49
Signed-off-by: default avatarManohar Vavilapalli <mvavilap@codeaurora.org>
parent b3a2604d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -385,6 +385,15 @@ extern void _memset_io(volatile void __iomem *, int, size_t);
#define writesw(p,d,l)		__raw_writesw(p,d,l)
#define writesl(p,d,l)		__raw_writesl(p,d,l)

#define readb_no_log(c) \
		({ u8  __v = readb_relaxed_no_log(c); __iormb(); __v; })
#define readw_no_log(c) \
		({ u16 __v = readw_relaxed_no_log(c); __iormb(); __v; })
#define readl_no_log(c) \
		({ u32 __v = readl_relaxed_no_log(c); __iormb(); __v; })
#define readq_no_log(c) \
		({ u64 __v = readq_relaxed_no_log(c); __iormb(); __v; })

#ifndef __ARMBE__
static inline void memset_io(volatile void __iomem *dst, unsigned c,
	size_t count)