[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-rt-users
Subject: [PATCH 1/3] compat_rwsem: fix compile failure for when PREEMPT_RT is disabled.
From: Paul Gortmaker <paul.gortmaker () windriver ! com>
Date: 2008-09-29 14:32:51
Message-ID: 1fcdb5cc884c1e226bcdc40e8a9918c9f80be027.1222698507.git.paul.gortmaker () windriver ! com
[Download RAW message or body]
If you disable PRREMPT_RT, you will get a compile failure on a missing
compat prototype. This change should be considered for folding into
rt-mutex-i386.patch
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
include/asm-x86/rwsem.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-x86/rwsem.h b/include/asm-x86/rwsem.h
index b60eb18..4e4f94a 100644
--- a/include/asm-x86/rwsem.h
+++ b/include/asm-x86/rwsem.h
@@ -257,7 +257,7 @@ static inline int rwsem_atomic_update(int delta, struct compat_rw_semaphore *sem
return tmp + delta;
}
-static inline int rwsem_is_locked(struct compat_rw_semaphore *sem)
+static inline int compat_rwsem_is_locked(struct compat_rw_semaphore *sem)
{
return (sem->count != 0);
}
--
1.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic