msm_rtb: Add _no_log variants

If the RTB driver is disabled (QCOM_RTB), the _no_log
variants of I/O (reads and writes) behaves exactly as
that of the I/O operations in asm/io.h. However, if
the driver is enabled, the regular reads' and writes'
definitions are overridden with the 'log' varaints,
while the _no_log variants wouldn't trace the I/O.

Change-Id: Ie80f37e3a6f6a4b72ba076f028ab9ada4680a710
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
Raghavendra Rao Ananta
2019-06-12 09:33:28 -07:00
parent 95d3c421bf
commit 6c51d448cb
2 changed files with 144 additions and 8 deletions

View File

@@ -22,6 +22,7 @@
#include <linux/init.h>
#include <linux/bug.h>
#include <linux/err.h>
#include <linux/msm_rtb.h>
#include <asm/io.h>
#include <asm/page.h>