* [PATCH] 2.6.21-rt6
@ 2007-05-22 22:59 Sven-Thorsten Dietrich
2007-05-22 23:36 ` Sven-Thorsten Dietrich
0 siblings, 1 reply; 3+ messages in thread
From: Sven-Thorsten Dietrich @ 2007-05-22 22:59 UTC (permalink / raw)
To: LKML; +Cc: Ingo Molnar
Add header and export for rt_write_trylock_irqsave.
Index: linux-2.6.21/include/linux/spinlock.h
===================================================================
--- linux-2.6.21.orig/include/linux/spinlock.h
+++ linux-2.6.21/include/linux/spinlock.h
@@ -294,6 +294,7 @@ do { \
extern void __lockfunc rt_write_lock(rwlock_t *rwlock);
extern void __lockfunc rt_read_lock(rwlock_t *rwlock);
extern int __lockfunc rt_write_trylock(rwlock_t *rwlock);
+extern int __lockfunc rt_write_trylock_irqsave(rwlock_t *trylock);
extern int __lockfunc rt_read_trylock(rwlock_t *rwlock);
extern void __lockfunc rt_write_unlock(rwlock_t *rwlock);
extern void __lockfunc rt_read_unlock(rwlock_t *rwlock);
Index: linux-2.6.21/kernel/rt.c
===================================================================
--- linux-2.6.21.orig/kernel/rt.c
+++ linux-2.6.21/kernel/rt.c
@@ -178,6 +178,7 @@ int __lockfunc rt_write_trylock_irqsave(
*flags = 0;
return rt_write_trylock(rwlock);
}
+EXPORT_SYMBOL(rt_write_trylock_irqsave);
int __lockfunc rt_read_trylock(rwlock_t *rwlock)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] 2.6.21-rt6
2007-05-22 22:59 [PATCH] 2.6.21-rt6 Sven-Thorsten Dietrich
@ 2007-05-22 23:36 ` Sven-Thorsten Dietrich
2007-05-23 3:41 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Sven-Thorsten Dietrich @ 2007-05-22 23:36 UTC (permalink / raw)
To: LKML; +Cc: Ingo Molnar
On Tue, 2007-05-22 at 15:59 -0700, Sven-Thorsten Dietrich wrote:
> Add
<correct>
> header and export for rt_write_trylock_irqsave.
Disregard the last patch, flags parameter was missing in the header.
Index: linux-2.6.21/include/linux/spinlock.h
===================================================================
--- linux-2.6.21.orig/include/linux/spinlock.h
+++ linux-2.6.21/include/linux/spinlock.h
@@ -294,6 +294,8 @@ do { \
extern void __lockfunc rt_write_lock(rwlock_t *rwlock);
extern void __lockfunc rt_read_lock(rwlock_t *rwlock);
extern int __lockfunc rt_write_trylock(rwlock_t *rwlock);
+extern int __lockfunc rt_write_trylock_irqsave(rwlock_t *trylock,
+ unsigned long *flags);
extern int __lockfunc rt_read_trylock(rwlock_t *rwlock);
extern void __lockfunc rt_write_unlock(rwlock_t *rwlock);
extern void __lockfunc rt_read_unlock(rwlock_t *rwlock);
Index: linux-2.6.21/kernel/rt.c
===================================================================
--- linux-2.6.21.orig/kernel/rt.c
+++ linux-2.6.21/kernel/rt.c
@@ -178,6 +178,7 @@ int __lockfunc rt_write_trylock_irqsave(
*flags = 0;
return rt_write_trylock(rwlock);
}
+EXPORT_SYMBOL(rt_write_trylock_irqsave);
int __lockfunc rt_read_trylock(rwlock_t *rwlock)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.6.21-rt6
2007-05-22 23:36 ` Sven-Thorsten Dietrich
@ 2007-05-23 3:41 ` Thomas Gleixner
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2007-05-23 3:41 UTC (permalink / raw)
To: Sven-Thorsten Dietrich; +Cc: LKML, Ingo Molnar
On Tue, 2007-05-22 at 16:36 -0700, Sven-Thorsten Dietrich wrote:
> On Tue, 2007-05-22 at 15:59 -0700, Sven-Thorsten Dietrich wrote:
> > Add
> <correct>
> > header and export for rt_write_trylock_irqsave.
>
> Disregard the last patch, flags parameter was missing in the header.
Signed-off-by is missing as well as a useful subject line :)
Applied.
Thanks,
tglx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-23 3:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 22:59 [PATCH] 2.6.21-rt6 Sven-Thorsten Dietrich
2007-05-22 23:36 ` Sven-Thorsten Dietrich
2007-05-23 3:41 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®