[linux-yocto] [PATCH 2/6] common-pc: Remove SMP from common-pc*-cpu fragments

Bruce Ashfield bruce.ashfield at windriver.com
Wed Apr 2 07:16:52 PDT 2014


On 14-04-02 03:19 AM, Darren Hart wrote:
> The x86 and x86_64 config fragments already include SMP and SMT support,
> remove the redundant configuration in the common-pc*-cpu.cfg files.

This make sense. If someone really wants UP, they can do it at boot time
or carry a config frag in their BSP .. the default as SMP is the right 
thing.

Bruce

>
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> ---
>   .../bsp/common-pc-64/common-pc-64-cpu.cfg          |    2 --
>   .../kernel-cache/bsp/common-pc/common-pc-cpu.cfg   |    1 -
>   2 files changed, 3 deletions(-)
>
> diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-cpu.cfg b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-cpu.cfg
> index 3cf6df2..8dced73 100644
> --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-cpu.cfg
> +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-cpu.cfg
> @@ -11,9 +11,7 @@
>   #
>   #.........................................................................
>
> -CONFIG_SMP=y
>   CONFIG_MCORE2=y
>   CONFIG_IA32_EMULATION=y
> -CONFIG_SCHED_SMT=y
>   CONFIG_NR_CPUS=24
>   CONFIG_PM=y
> diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg
> index ad55eb6..7254517 100644
> --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg
> +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg
> @@ -16,5 +16,4 @@ CONFIG_X86_GENERIC=y
>   CONFIG_X86_TSC=y
>   CONFIG_X86_MCE=y
>   CONFIG_MTRR=y
> -CONFIG_SMP=y
>   CONFIG_PM=y
>



More information about the linux-yocto mailing list