From: Colin Cross Date: Thu, 8 Mar 2012 01:34:35 +0000 (-0800) Subject: staging: android: persistent_ram: make persistent_ram_write atomic X-Git-Tag: v3.4-rc1~186^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808d0387eb7df3f83352ca41f8c943cb3ed61246;p=pandora-kernel.git 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 CC: Android Kernel Team Signed-off-by: Colin Cross Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed