This patch cleans up mpspec.h and allows it to be included when

HAVE_MP_TABLE=0

It also removes the artifacts from the Asus m2v-mx_se that were
necessary before the change.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4120 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson
2009-04-15 21:25:21 +00:00
parent 4e006407ec
commit 472f3ffcf8
3 changed files with 1 additions and 17 deletions

View File

@@ -1,8 +1,6 @@
#ifndef __ASM_MPSPEC_H
#define __ASM_MPSPEC_H
#if HAVE_MP_TABLE==1
/*
* Structure definitions for SMP machines following the
* Intel Multiprocessing Specification 1.1 and 1.4.
@@ -272,16 +270,5 @@ void *smp_write_floating_table_physaddr(unsigned long addr,
unsigned long mpf_physptr);
unsigned long write_smp_table(unsigned long addr);
#else /* HAVE_MP_TABLE */
#if 0
static inline
unsigned long write_smp_table(unsigned long addr)
{
return addr;
}
#endif
#define write_smp_table(addr) (addr)
#endif /* HAVE_MP_TABLE */
#endif