On Sun, 2005-07-31 at 12:11 -0700, David S. Miller wrote:
> From: Daniel Walker <[EMAIL PROTECTED]>
> Date: Sun, 31 Jul 2005 12:06:47 -0700
>
> > The ifdef that switched between the two rt_hash_lock_addr() switched on
> > for CONFIG_SMP or CONFIG_DEBUG_SPINLOCK . I was compiling UP , so I
> > didn
From: Daniel Walker <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 12:06:47 -0700
> The ifdef that switched between the two rt_hash_lock_addr() switched on
> for CONFIG_SMP or CONFIG_DEBUG_SPINLOCK . I was compiling UP , so I
> didn't get either.
>
> Seems like you'll need to have an rt_hash_lock(slo
On Sun, 2005-07-31 at 11:46 -0700, David S. Miller wrote:
> From: Daniel Walker <[EMAIL PROTECTED]>
> Date: Sun, 31 Jul 2005 09:27:55 -0700
>
> > >From 2.6.13-rc4 this hunk
> >
> > +#else
> > +# define rt_hash_lock_addr(slot) NULL
> > +# define rt_hash_lock_init()
> > +#endif
> >
> > Doesn't wor
From: Daniel Walker <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 09:27:55 -0700
> >From 2.6.13-rc4 this hunk
>
> +#else
> +# define rt_hash_lock_addr(slot) NULL
> +# define rt_hash_lock_init()
> +#endif
>
> Doesn't work with the following,
>
> + spin_unlock(rt_hash_lock_addr(i));
>
>From 2.6.13-rc4 this hunk
+#else
+# define rt_hash_lock_addr(slot) NULL
+# define rt_hash_lock_init()
+#endif
Doesn't work with the following,
+ spin_unlock(rt_hash_lock_addr(i));
Cause your spin locking a NULL .. I would give a patch, but I'm not sure
what should be done in t
5 matches
Mail list logo