From e76f15f4fdf2d2094b351a6a1a95dec1c63d017c Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 19 Apr 2021 15:20:28 +0200 Subject: src: Replace remaining {get,set}_option() instances With this change, the type-unsafe {get,set}_option() API functions are no longer used directly. The old API gets dropped in a follow-up. Change-Id: Id3f3e172c850d50a7d2f348b1c3736969c73837d Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/52512 Reviewed-by: Patrick Rudolph Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/cpu/intel/hyperthreading/intel_sibling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/hyperthreading/intel_sibling.c b/src/cpu/intel/hyperthreading/intel_sibling.c index ef3367d019..888a2fddda 100644 --- a/src/cpu/intel/hyperthreading/intel_sibling.c +++ b/src/cpu/intel/hyperthreading/intel_sibling.c @@ -21,7 +21,7 @@ void intel_sibling_init(struct device *cpu) /* On the bootstrap processor see if I want sibling cpus enabled */ if (first_time) { first_time = 0; - get_option(&disable_siblings, "hyper_threading"); + disable_siblings = get_int_option("hyper_threading", disable_siblings); } result = cpuid(1); /* Is hyperthreading supported */ -- cgit v1.2.3