* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
static inline void
* Zero: waiting timeouts
* Non Zero: event signaled ...
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Warning:
*
* for spinlock operations, try to grab nesting acquisition of
- * spinlock will cause dead-lock in MP system and current irql
+ * spinlock will cause dead-lock in MP system and current irql
* overwritten for UP system. (UP system could allow nesting spin
* acqisition, because it's not spin at all just raising the irql.)
*
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* For winnt system, we need this routine to delete the ERESOURCE.
* Just define it NULL for other systems.
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Zero: failed to acquire the read lock
* Non-Zero: succeeded to acquire the read lock
*
- * Notes:
+ * Notes:
* This routine will return immediately without waiting.
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Zero: failed to acquire the write lock
* Non-Zero: succeeded to acquire the read lock
*
- * Notes:
+ * Notes:
* This routine will return immediately without waiting.
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
struct lock_class_key {int foo;};
#define lockdep_set_class(lock, class) do {} while(0)
+static inline void lockdep_off(void)
+{
+}
+
+static inline void lockdep_on(void)
+{
+}
+
/*
* Semaphore
*
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
#define mutex_init init_mutex
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/
* Return Value:
* N/A
*
- * Notes:
+ * Notes:
* N/A
*/