Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbbKHK0b (ORCPT ); Sun, 8 Nov 2015 05:26:31 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:62617 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943AbbKHK03 (ORCPT ); Sun, 8 Nov 2015 05:26:29 -0500 From: Arnd Bergmann To: Octavian Purdila Cc: Linux-Arch , lkml , Hajime Tazaki Subject: Re: [RFC PATCH 08/28] lkl: system call interface and application API Date: Sun, 08 Nov 2015 11:26:22 +0100 Message-ID: <7048391.CAJ2UxAV77@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1446582059-17355-1-git-send-email-octavian.purdila@intel.com> <4119283.3hnNZZdIi2@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:COdeaNXHNKrFONgRQ/3nUM3rMdkCdBOx+3lUZX+1/4kunmPNb5b n8MabX0udP8NKYjeYlBScmYMoQU8Py7NaFe0qYF10SOB9gqTych16Z+GeiAgQzP34+hf8tb AWmCNu/Z5AQxdKms/Cl81IK0s9rQgJ2diG/VdL8K4rJ4X2XropTR+EVvyLbAKUVasPVoNgP LGO9UyFUhreeYb7roGu7Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:vL4/0dbPcvs=:+lvQa4pq/mE6RU9FPaoeqq XY1gIBhX7sLd2zHRnOYwqCFGOiFBRQe4/nYuX3VigOvKetTQBjrrID9WKkTS+pdFhEUqj+V5g Oo2acdKjjpqeJpLzGRd/QxxJZwG0mmsj5h329xyc5mrA82BbogxMVZX40hLPqPXs5wKutKzBo 6ejwfLp9lQeJUpg1sXe+fRGnkzMRNSsNCn0zgrXo1zjuDxpNg4QsWLJ2jQNWUC10mfjQlq9yo PR0L0ZZ8kOB8imX91I9wqF0wuVauWRgsWHeJvwQtUmOwJ83j1o2V9pqzMIuTuLRXGtjnaTjMK 8+DqaNg4YaThk2JUO0BLKNfYVTiE1qWf5ltWGKNYgUCoW6RqPbtCXH/xZZsMvd0BwItAnltT0 n/bWiM4hZ6IrY4p4lofdCpCzJfeRC1xRxs9bHG/x8+dbmZ85YsUD51k5dsiwckUcirQ8EquDd teebgqYfXqJNN5chSIbChZwf3YZhvCjSKWJrHG5ukMqHBZ+jAbYIQxpMvmEDvbt6kx9h4AI0Q o3Y9yHUO5NQwASLlQfRkX/Oc4QPjSr6cNFCvXRTAWtOpeh0DUfSDlclCX8ZUIRezvGzHp7GaT rFhPnchM4D8bOG60mygmZpd12viozrNGc68lOnmapQFztuEuC4riQFOcnXv00bw3cr/C0ubsu yQvXA05gLy6osPoatEz9BHSztruCFJ3/5tysZiNr8m7Y9nf6GObkV6YJzt8cF5MEg/HIRZakH TIxTSIF2HnxwK1sQ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 22 On Sunday 08 November 2015 05:49:00 Octavian Purdila wrote: > > Could you use the standard numbers from include/uapi/asm-generic/unistd.h? > > Maybe include that header and then #undef the ones you don't support? > > That would avoid having to assign a new number of each future syscall > > that gets added. > > It would be nice to do that but if we undef them warnings will be > generated during the build (e.g. "warning: #warning syscall pause not > implemented"). Is there a way to disable those warnings? Yes: #define __IGNORE_restart_syscall #define __IGNORE_exit ... Arnd -- 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/