]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe339c860ca3c6f1ea6940b58795aa17b397e819
treeee6ca0aaebd8e553576a0cf3fefafa1cd3ec8e1d
parent0e08ecbb17053dc99022fd2e4c9d0f3dabf61954
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]