lkml.org 
[lkml]   [2005]   [Apr]   [5]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 5 Apr 2005 07:39:06 +0200
FromIngo Molnar <>
SubjectRe: [PATCH 0/5] ppc RT: Realtime preempt support for PPC
* Frank Rowand <frowand@mvista.com> wrote:

> I looked at all the architectures and found that the disparity of the 
> type of the "lock" field in struct rwlock_t is even larger than I had 
> indicated in my earlier email.  I am attaching a proof of concept 
> patch to handle this.  If this looks like a good method to you then I 
> will create a real patch against your current patch, and include i386, 
> mips, x86_64, and ppc.

> +#include <asm/raw_spinlock.h>

>  typedef struct {
> -       volatile unsigned long lock;
> +       ARCH_RAW_RWLOCK_LOCK

maybe the simplest method would be to let architectures to define the 
raw spinlock type after all. I was hoping to standardize things across 
all architectures, but maybe it's not possible.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 11:31    [W:1.189 / U:0.210 seconds]
©2003-2008 Jasper Spaans