Return-Path: Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by 235xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MyUA0-0004R6-AB for ltp-list@lists.sourceforge.net; Thu, 15 Oct 2009 17:30:44 +0000 Date: Thu, 15 Oct 2009 19:30:26 +0200 From: Cyril Hrubis Message-ID: <20091015173026.GA25999@schrodinger.suse.cz> References: <20091014115618.7801.69877.sendpatchset@subratamodak.linux.ibm.com> <20091015162356.GB4152@schrodinger.suse.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <20091015162356.GB4152@schrodinger.suse.cz> Subject: Re: [LTP] [PATCH] Re: compile fails for libcpuset.c on SLES-11 s390x with ltp-full-20090930 List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-list-bounces@lists.sourceforge.net To: Subrata Modak Cc: LTP Mailing List , Mark Ver , Sachin P Sant --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! Following patch should fix all troubles with get/set_mempolicy. Header linux_syscall_numbers.h wasn't included in libcpuset.c and part of makefile that creates symlink in $(LTP_TOPDIR)/include to this header was lost in buildsystem rework. May be it would be be cleaner to move content of testcases/kernel/include somewhere into include but at least with this patch it should compile fine. signed-off-by: chrubis@suse.cz -- Cyril Hrubis chrubis@suse.cz --pWyiEgJYm5f9v55/ Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="get_set_memopolicy_syscall_missing.patch" Index: delme/testcases/kernel/include/powerpc.in =================================================================== --- delme.orig/testcases/kernel/include/powerpc.in +++ delme/testcases/kernel/include/powerpc.in @@ -3,6 +3,8 @@ timer_settime 241 timer_delete 244 clock_settime 245 clock_gettime 246 +get_mempolicy 260 +set_mempolicy 261 splice 283 tee 284 vmsplice 285 Index: delme/testcases/kernel/include/powerpc64.in =================================================================== --- delme.orig/testcases/kernel/include/powerpc64.in +++ delme/testcases/kernel/include/powerpc64.in @@ -3,6 +3,8 @@ timer_settime 241 timer_delete 244 clock_settime 245 clock_gettime 246 +get_mempolicy 260 +set_mempolicy 261 splice 283 tee 284 vmsplice 285 Index: delme/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c =================================================================== --- delme.orig/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c +++ delme/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c @@ -48,6 +48,9 @@ #include "cpuset.h" #include "common.h" +#include "test.h" +#include "linux_syscall_numbers.h" + /* Bump version, and update Change History, when libcpuset API changes */ #define CPUSET_VERSION 3 Index: delme/testcases/kernel/include/Makefile =================================================================== --- delme.orig/testcases/kernel/include/Makefile +++ delme/testcases/kernel/include/Makefile @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # Garrett Cooper, July 2009 +# Cyril Hrubis, October 2009 # top_srcdir ?= ../../.. @@ -30,5 +31,7 @@ MAKE_TARGETS := linux_syscall_numbers.h linux_syscall_numbers.h: @set -e; $(SHELL) $(abs_srcdir)/regen.sh + rm -f $(top_srcdir)/include/$(MAKE_TARGETS) + ln -s $(abs_srcdir)/$(MAKE_TARGETS) $(top_srcdir)/include/ include $(top_srcdir)/include/mk/generic_leaf_target.mk Index: delme/testcases/kernel/include/s390x.in =================================================================== --- delme.orig/testcases/kernel/include/s390x.in +++ delme/testcases/kernel/include/s390x.in @@ -1,3 +1,5 @@ +get_mempolicy 269 +set_mempolicy 270 openat 288 mkdirat (__NR_openat + 1) mknodat (__NR_openat + 2) --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list --pWyiEgJYm5f9v55/--