[tip:x86/mm] x86: k8.h: Add struct bootnode

From: tip-bot for Randy Dunlap
Date: Sun Nov 08 2009 - 06:58:19 EST


Commit-ID: 0420101c075530c65ba00b6fe7291b126fbfc5d2
Gitweb: http://git.kernel.org/tip/0420101c075530c65ba00b6fe7291b126fbfc5d2
Author: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
AuthorDate: Wed, 28 Oct 2009 16:09:55 -0700
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Sun, 8 Nov 2009 12:55:38 +0100

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@xxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
LKML-Reference: <20091028160955.d27ccb16.randy.dunlap@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/include/asm/k8.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/include/asm/k8.h b/arch/x86/include/asm/k8.h
index c092f72..f70e600 100644
--- a/arch/x86/include/asm/k8.h
+++ b/arch/x86/include/asm/k8.h
@@ -4,6 +4,7 @@
#include <linux/pci.h>

extern struct pci_device_id k8_nb_ids[];
+struct bootnode;

extern int early_is_k8_nb(u32 value);
extern struct pci_dev **k8_northbridges;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/