projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add option to disable mptable generation.
[seabios.git]
/
src
/
mptable.c
diff --git
a/src/mptable.c
b/src/mptable.c
index 90b8d2f0f961068092d15a348c4477d4a3c7ecec..5550fd247281dc19f9ce0db123efb45cefb43950 100644
(file)
--- a/
src/mptable.c
+++ b/
src/mptable.c
@@
-49,6
+49,9
@@
static void putle32(u8 **pp, int val)
void
mptable_init(void)
{
+ if (! CONFIG_MPTABLE)
+ return;
+
u8 *mp_config_table, *q, *float_pointer_struct;
int ioapic_id, i, len;
int mp_config_table_size;