msm: remote_spinlock: Add support for hardware mutexes
Add support for hardware mutexes.
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
diff --git a/include/linux/remote_spinlock.h b/include/linux/remote_spinlock.h
index 535592e..8d7c7e7 100644
--- a/include/linux/remote_spinlock.h
+++ b/include/linux/remote_spinlock.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2008-2009, 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -83,6 +83,11 @@
: 0; \
})
+#define remote_spin_release(lock, pid) \
+ _remote_spin_release(&((lock)->remote), pid)
+
+#define remote_spin_release_all(pid) \
+ _remote_spin_release_all(pid)
typedef struct {
struct mutex local;