lkml.org 
[lkml]   [2010]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/pci: print ioh resources only


On Thu, 28 Jan 2010, Yinghai Lu wrote:
> @@ -43,7 +43,7 @@ static void __devinit pci_root_bus_res(s
> {
> u16 word;
> u32 dword;
> - struct pci_root_info *info;
> + struct pci_root_info info;

That structure is something like a kilobyte in size, please don't put
those things on the stack (sixteen "struct resource" entries).

Linus


\
 
 \ /
  Last update: 2010-01-28 19:59    [from the cache]
©2003-2011 Jasper Spaans