diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-12-23 10:29:09 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-01-09 11:07:18 +0100 |
commit | 8d846135ff0779b19eccef0bbb15ddfe366205c6 (patch) | |
tree | 10e21669fdecfe84ac6159933c787462c45374bd /src/cpu | |
parent | b5d81eb43db54bd807af68744ebefa429c95843a (diff) | |
download | coreboot-8d846135ff0779b19eccef0bbb15ddfe366205c6.tar.xz |
ACPI: mark empty get_cst_entries() weak
This function prevents the linker from choosing the right
get_cst_entries(), preventing writing the _CST tables.
Change-Id: I4bc0168aee110171faeaa081f217dfd1536bb821
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/496
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/intel/speedstep/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index 8f32e4f630..00c4ae937c 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -62,7 +62,7 @@ static int get_fsb(void) return 200; } -int get_cst_entries(struct cst_entry **entries __attribute__((unused))) +int __attribute__((weak)) get_cst_entries(struct cst_entry **entries __attribute__((unused))) { return 0; } |