login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
18
Re: [PATCH] srcu: add missing header file
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH] srcu: add missing header file
Date: Saturday, April 17, 2010 - 6:06 pm
On Sat, Apr 17, 2010 at 07:13:53PM +0800, Lai Jiangshan wrote:
quoted text
> > When I was writing a module, I hit this compile error. > include/linux/srcu.h:39: error: field 'mutex' has incomplete type > include/linux/srcu.h:41: error: field 'dep_map' has incomplete type > > mutex.h is missed in srcu.h, but srcu.h uses struct mutex, > so this patch adds this missing header file. > > __percpu is defined in compiler.h which is included in mutex.h already. > But I also include percpu.h because it names "__percpu".
Good catch!!! Queued for 2.6.35. Thanx, Paul
quoted text
> Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> > --- > diff --git a/include/linux/srcu.h b/include/linux/srcu.h > index 4d5ecb2..675a16f 100644 > --- a/include/linux/srcu.h > +++ b/include/linux/srcu.h > @@ -27,6 +27,9 @@ > #ifndef _LINUX_SRCU_H > #define _LINUX_SRCU_H > > +#include <linux/percpu.h> > +#include <linux/mutex.h> > + > struct srcu_struct_array { > int c[2]; > }; >
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] srcu: add missing header file
, Lai Jiangshan
, (Sat Apr 17, 4:13 am)
Re: [PATCH] srcu: add missing header file
, Paul E. McKenney
, (Sat Apr 17, 6:06 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
Robert Marquardt
Re: [linux-usb-devel] usb hid: reset NumLock
Alexandre Oliva
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Uwe Bugla
Re: bug in 2.6.22-rc2: loop mount limited to one single iso image
Neil Brown
Re: Proposal: Use hi-res clock for file timestamps
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Miklos Vajna
[PATCH 3/3] Fix git update-ref --no-deref -d.
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Jarek Poplawski
Re: tc filter flow hash question
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
NFS: Store pages from an NFS inode into a local cache
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Nick Holland
Re: Install OpenBSD from USB ?
Simon Comeau Martel
Activating "ip6.forwarding" and "accept_rtadv" at the same time
Colocation donated by:
Syndicate