lkml.org 
[lkml]   [2008]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Prevent IDE boot ops on NUMA system in mainline


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.

Linus


\
 
 \ /
  Last update: 2008-02-11 18:41    [W:0.155 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site