Эх сурвалжийг харах

x86: k8.h: Add struct bootnode

k8.h uses struct bootnode but does not #include a header file
for it, so provide a simple declaration for it.

  arch/x86/include/asm/k8.h:13: warning: 'struct bootnode'
  declared inside parameter list arch/x86/include/asm/k8.h:13:
  warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20091028160955.d27ccb16.randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Randy Dunlap 15 жил өмнө
parent
commit
0420101c07

+ 1 - 0
arch/x86/include/asm/k8.h

@@ -4,6 +4,7 @@
 #include <linux/pci.h>
 #include <linux/pci.h>
 
 
 extern struct pci_device_id k8_nb_ids[];
 extern struct pci_device_id k8_nb_ids[];
+struct bootnode;
 
 
 extern int early_is_k8_nb(u32 value);
 extern int early_is_k8_nb(u32 value);
 extern struct pci_dev **k8_northbridges;
 extern struct pci_dev **k8_northbridges;