From 553344a5da867cfc67741f42a8b866c52ed7ad34 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Wed, 17 Mar 2010 22:20:12 +0000 Subject: [PATCH] Change the location of the function prototype for collect_sys_info() so that it both works for x86 and is the same location as for the amd64 build. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@703 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/amd64/openbios.c | 1 - arch/amd64/sys_info.c | 1 + arch/x86/sys_info.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/amd64/openbios.c b/arch/amd64/openbios.c index 106e459..02f6bff 100644 --- a/arch/amd64/openbios.c +++ b/arch/amd64/openbios.c @@ -17,7 +17,6 @@ #include "relocate.h" void boot(void); -void collect_sys_info(struct sys_info *info); static char intdict[256 * 1024]; diff --git a/arch/amd64/sys_info.c b/arch/amd64/sys_info.c index 04e82a7..d62070b 100644 --- a/arch/amd64/sys_info.c +++ b/arch/amd64/sys_info.c @@ -11,6 +11,7 @@ #endif void collect_multiboot_info(struct sys_info *); +void collect_sys_info(struct sys_info *info); void collect_sys_info(struct sys_info *info) { diff --git a/arch/x86/sys_info.c b/arch/x86/sys_info.c index 63e5089..9361c9d 100644 --- a/arch/x86/sys_info.c +++ b/arch/x86/sys_info.c @@ -10,6 +10,7 @@ #endif void collect_multiboot_info(struct sys_info *); +void collect_sys_info(struct sys_info *info); void collect_sys_info(struct sys_info *info) {