From patchwork Thu May 10 22:25:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 911587 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40hnsG4h0Mz9s19 for ; Fri, 11 May 2018 08:27:13 +1000 (AEST) Received: from localhost ([::1]:35819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGu1l-00057M-VJ for incoming@patchwork.ozlabs.org; Thu, 10 May 2018 18:27:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGu1C-00056o-Bi for qemu-devel@nongnu.org; Thu, 10 May 2018 18:26:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGu19-0007rV-7T for qemu-devel@nongnu.org; Thu, 10 May 2018 18:26:34 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:40751) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGu18-0007qs-U7 for qemu-devel@nongnu.org; Thu, 10 May 2018 18:26:31 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MJ1cT-1fJNv80vPN-002YCb; Fri, 11 May 2018 00:26:11 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 00:25:56 +0200 Message-Id: <20180510222601.19944-1-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 X-Provags-ID: V03:K1:BTi2gvv+q5r+qkxZ9Yc6KKDleM9PoV/upMon56ZPig31ssSXRhw PGYMCL/DDsnrOmB1yLl6AFzCvDkp82m1I8XWx1IA7iKJ3PY6b6sUV6uJ51zomXryailRvcq nz5EjIPJFOdhTqwx2Xk+I2Wskd2JwHnBAn6fpGj56+kZAML9brpk9n9xjrLhHqgGfEmdAHl xobYIS7F8p3HOUgO9glEA== X-UI-Out-Filterresults: notjunk:1; V01:K0:WPyl29UORY4=:ataKh7FlHZJrCcrDMR1/ps kuCyUqMyBM8ACUs69Ez50bcMQ+ye2R8D3fumub4bdpj7QoXuqpvuVTR7cr1/S9gnBYalsNs0F eqZzYa6teap+7qVfIlDIJ7wb3X9B5XnYGU7crL0M62okFdHtbb8Qa1kdRHolE+qAU90lxOzU4 Qp5HgEVyTtFboo6mIV5Fd0N1qXCuyd+aqv8iLF7mCCRMnLinq31kyuqQPna5wy1A3RGBZINo/ 8E9nxuOrlys60umN4iqB4blBJ2RADQYY4MQifQ/bdNfL2/FlIeKpg+uzt8kBxT2roitTWJfZV U7HeHQGbejAgFLFNTfr5IeCLeOjxzELgb/N47Rhgp8G1jvVT15ZpfCO8PQWtKZh2CdJW+dLsA 3rPuEP2+d5g0K9ErHtkNA76E6B2VPDwyywppiGzKc8AO99jlSdLqmAGt4fr4hd+k/YnmHk8nu k3/JGNriTmpvpdjUNWl3dTvvtlOqrLHUTsZYtqY2scKvL2y8OSXj+MO1ZQlx4Ra0Z09UGHI7u WJxwzPerJ6PaNe/rAJv990mNhSf9x2ANZkrN60nEeee6mdHmkqf1gg5ZB8CEXJmWeRXru6mIV v0H3VUHrQgDSwS8eam9uMCqYWlWCQ5kMFnGZrNY+g0AcElVnmBVdUlZ5kScMEEAXrUkyGW6ui 0CLxaEc5WlM9ELM5bOdKJeBaFnlWe1Q4Cw1b4j6eYqQj0qYFFtRYziXubVRFGcfvZHMg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PATCH 0/5] linux-user: move socket.h definitions to CPU directories X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Cave-Ayland , Riku Voipio , Yongbok Kim , Laurent Vivier , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Splitting out socket.h definitions helps to read the code and to fix the bugs... No code change, except for the last one that ports definitions from linux for sparc as the values are not the correct ones. Laurent Vivier (5): linux-user: move mips socket.h definitions to mips/sockbits.h linux-user: move alpha socket.h definitions to alpha/sockbits.h linux-user: move sparc/sparc64 socket.h definitions to sparc/sockbits.h linux-user: move ppc socket.h definitions to ppc/sockbits.h linux-user: copy sparc/sockbits.h definitions from linux linux-user/alpha/sockbits.h | 113 ++++++++++++++++++ linux-user/mips/sockbits.h | 110 ++++++++++++++++++ linux-user/mips64/sockbits.h | 1 + linux-user/ppc/sockbits.h | 58 ++++++++++ linux-user/socket.h | 261 +----------------------------------------- linux-user/sparc/sockbits.h | 111 ++++++++++++++++++ linux-user/sparc64/sockbits.h | 1 + 7 files changed, 397 insertions(+), 258 deletions(-) create mode 100644 linux-user/alpha/sockbits.h create mode 100644 linux-user/mips/sockbits.h create mode 100644 linux-user/mips64/sockbits.h create mode 100644 linux-user/ppc/sockbits.h create mode 100644 linux-user/sparc/sockbits.h create mode 100644 linux-user/sparc64/sockbits.h Reviewed-by: Philippe Mathieu-Daudé