staging: android: persistent_ram: remove atomic operations
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 3 Sep 2012 06:57:28 +0000 (11:57 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Tue, 11 Sep 2012 16:26:38 +0000 (09:26 -0700)
commitdcd3c9b29457d2995e334ddd846dffd10cafaa84
tree5ac7087bb5159c229cec8900705e3263105c02a6
parent01e856e25217549c627c1eebbeccd1f05f07f01e
staging: android: persistent_ram: remove atomic operations

The atomic operations (LDREX/STREX) to handle a buffer's start
pointer and size do not seem to work well on ARMv7.

Bug 1035205

Suggested by: Colin Cross <ccross@android.com>

Change-Id: I71d61c8eb6a9669137dfc5fc6793e57e939f4a12
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/130065
Reviewed-by: Automatic_Commit_Validation_User
drivers/staging/android/persistent_ram.c