drivers: hwspinlock: add framework
authorOhad Ben-Cohen <ohad@wizery.com>
Thu, 17 Feb 2011 17:52:03 +0000 (09:52 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Feb 2011 17:52:03 +0000 (09:52 -0800)
commitbd9a4c7df256cee4e9f6a4b56baa3b89d63f0f1e
treeee6ca0aaebd8e553576a0cf3fefafa1cd3ec8e1d
parentd9e45731debd83e2b249be349993595907dddeae
drivers: hwspinlock: add framework

Add a platform-independent hwspinlock framework.

Hardware spinlock devices are needed, e.g., in order to access data
that is shared between remote processors, that otherwise have no
alternative mechanism to accomplish synchronization and mutual exclusion
operations.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Hari Kanigeri <h-kanigeri2@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/hwspinlock.txt [new file with mode: 0644]
drivers/Kconfig
drivers/Makefile
drivers/hwspinlock/Kconfig [new file with mode: 0644]
drivers/hwspinlock/Makefile [new file with mode: 0644]
drivers/hwspinlock/hwspinlock_core.c [new file with mode: 0644]
drivers/hwspinlock/hwspinlock_internal.h [new file with mode: 0644]
include/linux/hwspinlock.h [new file with mode: 0644]