Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751145AbWIFOUL (ORCPT ); Wed, 6 Sep 2006 10:20:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751144AbWIFOUL (ORCPT ); Wed, 6 Sep 2006 10:20:11 -0400 Received: from mailhub.sw.ru ([195.214.233.200]:9561 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S1751143AbWIFOUI (ORCPT ); Wed, 6 Sep 2006 10:20:08 -0400 Message-ID: <44FED9FA.2080305@sw.ru> Date: Wed, 06 Sep 2006 18:23:54 +0400 From: Kirill Korotaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: balbir@in.ibm.com CC: Rik van Riel , CKRM-Tech , Andi Kleen , Linux Kernel Mailing List , Christoph Hellwig , Andrey Savochkin , devel@openvz.org, Matt Helsley , Hugh Dickins , Alexey Dobriyan , Oleg Nesterov , Alan Cox , Pavel Emelianov Subject: Re: [ckrm-tech] [PATCH 5/13] BC: user interface (syscalls) References: <44FD918A.7050501@sw.ru> <44FD9699.705@sw.ru> <44FED108.7090301@in.ibm.com> In-Reply-To: <44FED108.7090301@in.ibm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2105 Lines: 62 thanks a lot! > Kirill Korotaev wrote: > >>Add the following system calls for BC management: >> 1. sys_get_bcid - get current BC id >> 2. sys_set_bcid - change exec_ and fork_ BCs on current >> 3. sys_set_bclimit - set limits for resources consumtions >> 4. sys_get_bcstat - return br_resource_parm on resource >> >>Signed-off-by: Pavel Emelianov >>Signed-off-by: Kirill Korotaev >> >>--- ./include/asm-powerpc/systbl.h.bcsys 2006-07-10 12:39:19.000000000 +0400 >>+++ ./include/asm-powerpc/systbl.h 2006-09-05 12:47:21.000000000 +0400 >>@@ -304,3 +304,7 @@ SYSCALL_SPU(fchmodat) >> SYSCALL_SPU(faccessat) >> COMPAT_SYS_SPU(get_robust_list) >> COMPAT_SYS_SPU(set_robust_list) >>+SYSCALL(sys_get_bcid) >>+SYSCALL(sys_set_bcid) >>+SYSCALL(sys_set_bclimit) >>+SYSCALL(sys_get_bcstat) > > > > Fix a build error for powerpc boxes. While compiling on powerpc, Vaidyanathan > Srinivasan caught this error. System calls on powerpc do not need sys_ prefix. > > Signed-off-by: Balbir Singh > Signed-off-by: Vaidyanathan Srinivasan > --- > > include/asm-powerpc/systbl.h | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff -puN include/asm-powerpc/systbl.h~fix-powerpc-build > include/asm-powerpc/systbl.h > --- linux-2.6.18-rc5/include/asm-powerpc/systbl.h~fix-powerpc-build 2006-09-06 > 19:03:18.000000000 +0530 > +++ linux-2.6.18-rc5-balbir/include/asm-powerpc/systbl.h 2006-09-06 > 19:03:38.000000000 +0530 > @@ -304,7 +304,7 @@ SYSCALL_SPU(fchmodat) > SYSCALL_SPU(faccessat) > COMPAT_SYS_SPU(get_robust_list) > COMPAT_SYS_SPU(set_robust_list) > -SYSCALL(sys_get_bcid) > -SYSCALL(sys_set_bcid) > -SYSCALL(sys_set_bclimit) > -SYSCALL(sys_get_bcstat) > +SYSCALL(get_bcid) > +SYSCALL(set_bcid) > +SYSCALL(set_bclimit) > +SYSCALL(get_bcstat) > _ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/