[poky] [PATCH 1/3] n450: enable SMP and SCHED_SMT

Darren Hart dvhart at linux.intel.com
Wed Apr 27 12:51:59 PDT 2011


Fixes [YOCTO 1010]

The Atom N450 CPU is single core with hyperthreading. Update the kernel recipe
to build with CONFIG_SMP and CONFIG_SCHED_SMT.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 .../linux/linux-yocto-stable_git.bbappend          |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend b/meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend
index e7c2df8..e69c644 100644
--- a/meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend
+++ b/meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend
@@ -2,6 +2,9 @@ FILESEXTRAPATHS := "${THISDIR}/${PN}"
 KMACHINE_n450 = "atom-pc"
 COMPATIBLE_MACHINE_n450 = "n450"
 
+# The n450 is a single core hypterthreaded CPU
+KERNEL_FEATURES_append_n450 += " cfg/smp.scc"
+
 # We use the atom-pc machine SRCREV and the default meta SRCREV
 #SRCREV_machine_pn-linux-yocto-stable_n450 = ""
 #SRCREV_meta_pn-linux-yocto-stable_n450 ?= ""
-- 
1.7.1




More information about the poky mailing list