login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [PATCH] bitops kernel-doc: expand macro
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <rdunlap@...>
To: Nick Piggin <nickpiggin@...>
Cc: lkml <linux-kernel@...>, torvalds <torvalds@...>
Subject:
Re: [PATCH] bitops kernel-doc: expand macro
Date: Wednesday, October 24, 2007 - 11:38 am
On Wed, 24 Oct 2007 18:00:19 +1000 Nick Piggin wrote:
quoted text
> On Wednesday 24 October 2007 15:09, Randy Dunlap wrote: > > From: Randy Dunlap <randy.dunlap@oracle.com> > > > > Can we expand this macro definition, or should I look for a way to > > fool^W teach kernel-doc about this? > > > > scripts/kernel-doc says: > > Error(linux-2.6.24-rc1//include/asm-x86/bitops_32.h:188): cannot understand > > prototype: 'test_and_set_bit_lock test_and_set_bit ' > > Actually, it probably looks a bit nicer like this anyway. If you grep > for it, then you can actually see the parameters... > > On third thoughts, an inline function might be the best thing to do, > and also avoid setting a bad example. What do you think?
That's probably best, yes. Would you do the honors?
quoted text
> > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> > > --- > > include/asm-x86/bitops_32.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- linux-2.6.24-rc1.orig/include/asm-x86/bitops_32.h > > +++ linux-2.6.24-rc1/include/asm-x86/bitops_32.h > > @@ -185,7 +185,7 @@ static inline int test_and_set_bit(int n > > * > > * This is the same as test_and_set_bit on x86 > > */ > > -#define test_and_set_bit_lock test_and_set_bit > > +#define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr) > > > > /** > > * __test_and_set_bit - Set a bit and return its old value > > ---
--- ~Randy -
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] bitops kernel-doc: expand macro
, Randy Dunlap
, (Wed Oct 24, 1:09 am)
Re: [PATCH] bitops kernel-doc: expand macro
, Nick Piggin
, (Wed Oct 24, 4:00 am)
[PATCH v2] bitops kernel-doc: inline instead of macro
, Randy Dunlap
, (Thu Oct 25, 12:31 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Thomas Gleixner
, (Thu Oct 25, 12:42 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Randy Dunlap
, (Thu Oct 25, 12:55 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Nick Piggin
, (Thu Oct 25, 5:54 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Andrew Morton
, (Thu Oct 25, 4:48 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Andy Whitcroft
, (Sat Oct 27, 6:43 am)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, H. Peter Anvin
, (Sat Oct 27, 2:48 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Andy Whitcroft
, (Sat Oct 27, 10:30 am)
[PATCH] x86 bitops: fix code style issues
, Randy Dunlap
, (Thu Oct 25, 5:27 pm)
[PATCH v3] bitops kernel-doc: inline instead of macro
, Randy Dunlap
, (Thu Oct 25, 5:21 pm)
Re: [PATCH v3] bitops kernel-doc: inline instead of macro
, Thomas Gleixner
, (Thu Oct 25, 5:27 pm)
Re: [PATCH v2] bitops kernel-doc: inline instead of macro
, Thomas Gleixner
, (Thu Oct 25, 1:05 pm)
Re: [PATCH] bitops kernel-doc: expand macro
, Randy Dunlap
, (Wed Oct 24, 11:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Hiten Pandya
Re: up? (emacs docbook xml ide)
Martin Michlmayr
Network slowdown due to CFS
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
netbsd-tech-kern
:
Christos Zoulas
Re: Boot device confusion
Manuel Bouyer
Re: NFSv3 bug
Anders Magnusson
Re: setsockopt() compat issue
Martin Husemann
Re: Compressed vnd handling tested successfully
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
925 guests
online.
Syndicate