Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp238244imm; Wed, 4 Jul 2018 22:41:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe2mPXSdUfDsHlIPhZbRPAf5DeC2p0yiJo3CMl2HZBY2/LeQzDSEUPDaDO00S3vYO7L3y2m X-Received: by 2002:a63:5b51:: with SMTP id l17-v6mr4153610pgm.165.1530769263555; Wed, 04 Jul 2018 22:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530769263; cv=none; d=google.com; s=arc-20160816; b=TxFAKCkupm0cf4FzAG4zSon+ypHJGuflUqHZsLtEI69vWUdgqlaVoBMhefPaJCujw7 LtUNVWJw60wKCvNyZrOEfz1qex+7f5nAemS3IIH9ml/c63UkdKWY/DzanK3nxYseVGKz D5zZfkvlZQwfAHctVZEFtpNB/mkI34pNiqnzDLavzXq1jtsQ8JwffNm1NlAWnltLRprF SyCQbjhDCeyLWXfsR8P87L1M5b+BZrwtYb87LMOqzLTZ8NDOUtTvPaTsw6emuUDGdVHy mTIujc3xliKT7h8q4kk0ULugHNBHNg6ITffpFxiYnPzu6fmwPmnRFwlMeh4z5rtZMLgS IC9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=oQD8BnyhgFK8DjOL/lZasG85pUwp9GwPbM33DeBtB5Q=; b=g59wwY6VIsOyhL6X6uPETiQeu1NnUiw6ruRzuhnMwijF0zekoLmzrO6VzFunR9G2J2 0pSR+6zMINKdtAvMv2G3WsirABSL0UYGTVqJc7vMpQqJD4yQ/T2HKVXRYbtQ9aYCZEDd XRgd9aWRWmRFuWbB1DFt4FbhMeHZideRXpB/DEiEtZZOeMK5ymwrthdxRnpTLuqSJnVL kbKDZZw3RThCBkUXUm2lFnduJUclUv2p0XJKjh07DyBixuyb9okk4KlmEONoPHB8fSaZ z5sMcd4hSOHertzgZMKryQZYXXRnHEIkS8LDTbRe4cA9dFaDohWQuax238GqBjUQ6Fjj plBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si4552447pgv.562.2018.07.04.22.40.49; Wed, 04 Jul 2018 22:41:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753231AbeGEFjQ (ORCPT + 99 others); Thu, 5 Jul 2018 01:39:16 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:56627 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbeGEFjP (ORCPT ); Thu, 5 Jul 2018 01:39:15 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2390907|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03308;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=11;RT=11;SR=0;TI=SMTPD_---.CMUzQM3_1530769123; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CMUzQM3_1530769123) by smtp.aliyun-inc.com(10.147.42.135); Thu, 05 Jul 2018 13:38:43 +0800 Date: Thu, 5 Jul 2018 13:38:43 +0800 From: Guo Ren To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, Greentime Hu Subject: Re: [PATCH V2 05/19] csky: System Call Message-ID: <20180705053842.GA11749@guoren> References: <1005fef6031efbee4b5041ee286c053dd97670e6.1530465326.git.ren_guo@c-sky.com> <20180704114952.GB22857@guoren> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 04, 2018 at 11:04:37PM +0200, Arnd Bergmann wrote: > Right, I do understand what it's used for, my point was that you > don't really need a separate system call number for it, just redirect > the entry point using the same trick that nds32 has in > arch/nds32/kernel/syscall_table.c: > > #define sys_fadvise64_64 csky_fadvise64_64 Thx for the tip :) Guo Ren