login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
11
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andi Kleen <andi@...>
To: Linus Torvalds <torvalds@...>
Cc: Andi Kleen <andi@...>, <bzolnier@...>, <linux-ide@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
Date: Monday, February 11, 2008 - 3:04 pm
On Mon, Feb 11, 2008 at 09:37:18AM -0800, Linus Torvalds wrote:
quoted text
> > > On Mon, 11 Feb 2008, Linus Torvalds wrote: > > > > So we should probably make pcibus_to_node() be an inline function for that > > case > > Or, we could just do the ugliest patch ever, namely > > -#define pcibus_to_node(node) (-1) > +#define pcibus_to_node(node) ((int)(long)(node),-1) > > Wow. It's so ugly it's almost wraps around and comes out the other sides > and looks pretty.
(void)arg, ... is better. Trick originally from Jan Beulich I think (his code is always a good source for useful new C tricks) -Andi --
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] Prevent IDE boot ops on NUMA system in mainline
, Andi Kleen
, (Sun Feb 10, 8:35 pm)
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
, Bartlomiej Zolnierkiewicz...
, (Mon Feb 11, 3:26 pm)
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
, Linus Torvalds
, (Mon Feb 11, 1:33 pm)
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
, Andi Kleen
, (Mon Feb 11, 3:03 pm)
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
, Linus Torvalds
, (Mon Feb 11, 1:37 pm)
Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline
, Andi Kleen
, (Mon Feb 11, 3:04 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Andrew Morton
Re: PCI probing changes
Bart Van Assche
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Jeff Chua
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
947 guests
online.
Online users
zeekec
pavan6754
puntmuts
rollercoaster
weddingvideo
margaretrake
Syndicate