summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-03-08 05:34:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 21:36:08 +0400
commit808d0387eb7df3f83352ca41f8c943cb3ed61246 (patch)
treef3913e3602acefdf89c21f41f085a0fa40ffe658 /scripts/basic
parent404a6043385de17273624b076599669db5ad891f (diff)
downloadlinux-808d0387eb7df3f83352ca41f8c943cb3ed61246.tar.xz
staging: android: persistent_ram: make persistent_ram_write atomic
Allow persistent_ram_write to be called on multiple cpus at the same time, as long as ecc is not in use. Uses atomics for the buffer->start and buffer->size counters. [jstultz: Fix up some pr_info casting issues on 64bit] CC: Greg KH <gregkh@linuxfoundation.org> CC: Android Kernel Team <kernel-team@android.com> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions