lkml.org 
[lkml]   [2012]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RT 2/4] wait-simple: Simple waitqueue implementation
From
Date
On Wed, 2012-01-18 at 10:28 +0100, Mike Galbraith wrote:
> > +
> > +void __init_swait_head(struct swait_head *head, struct lock_class_key *key)
> > +{
> > + raw_spin_lock_init(&head->lock);
> > + lockdep_set_class(&head->lock, key);
> > + INIT_LIST_HEAD(&head->list);
> > +}
> > +EXPORT_SYMBOL_GPL(__init_swait_head);
>
> #include <linux/module.h> ?

Did it fail to compile for you? The 3.2 version included linux/export.h
which didn't exist, and that failed the compile for me. I removed it an
it compiled fine. But perhaps I should have replaced it with module.h.
I'll look into it.

Thanks!

-- Steve




\
 
 \ /
  Last update: 2012-01-18 13:47    [W:0.276 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site