diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2013-02-14 12:41:59 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:57:37 -0700 |
commit | 6258d51aab8d398c03b15c5ce4c9eeca6f168ed4 (patch) | |
tree | 4b951e25cd2d5d52a95a9f298b42cd1523f547e3 /arch/arm | |
parent | 80d549976e2bd357d257a901f5f66c187e1638ff (diff) |
ARM: tegra: add "memory" to clobber list
The inline asm needs "memory" in its clobber list to prevent gcc from caching
the mcr read too agressively.
Bug 1207116
Change-Id: Ia93e8115b9bd8bf0539e7b7d55ffeda2efc0e7e6
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/200751
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index bffefa3be6e5..fafcf967c6c8 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h @@ -159,7 +159,7 @@ static inline unsigned int is_lp_cluster(void) "ubfx %0, %0, #8, #4" : "=r" (reg) : - : "cc"); + : "cc","memory"); return reg ; /* 0 == G, 1 == LP*/ #endif } |