new file mode 100644
@@ -0,0 +1,30 @@
+Upstream-Status: Backport
+
+commit 6f3147f01229f3bb953202cde828d35e0d2bcb8a
+Author: Riku Voipio <riku.voipio@linaro.org>
+Date: Mon Oct 14 11:50:28 2013 +0300
+
+ power_management: add TCID
+
+ get_sched_values.c uses interfaces provided by -lltp which need
+ TCID defined. Not sure how this built successfully before.
+
+ [v2] correct TCID to an unique one
+
+ Cc: Wanlong Gao <gaowanlong@cn.fujitsu.com>
+ Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
+ Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
+
+Index: ltp-full-20130904/testcases/kernel/power_management/get_sched_values.c
+===================================================================
+--- ltp-full-20130904.orig/testcases/kernel/power_management/get_sched_values.c 2013-09-04 10:18:22.000000000 +0300
++++ ltp-full-20130904/testcases/kernel/power_management/get_sched_values.c 2013-10-11 14:57:40.890551214 +0300
+@@ -17,6 +17,8 @@
+ #include <stdio.h>
+ #include "test.h"
+
++const char *TCID = "Power_Management";
++
+ int get_supp_sched_mc(void)
+ {
+ if (tst_kvercmp(2, 6, 29) < 0)
@@ -23,6 +23,7 @@ DEPENDS = "attr libaio libcap acl openssl"
SRC_URI = "${SOURCEFORGE_MIRROR}/project/ltp/LTP%20Source/ltp-${PV}/ltp-full-${PV}.tar.bz2 \
file://fix-arm64.patch \
+ file://fix-pm-tests.patch \
"
SRC_URI[md5sum] = "0cf2ccb7199f8318d413c62a085629f0"
@@ -36,6 +37,7 @@ inherit autotools
S = "${WORKDIR}/ltp-full-${PV}"
TARGET_CC_ARCH += "${LDFLAGS}"
+EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite "
do_install(){
install -d ${D}/opt/ltp/