From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 12 Nov 2013 14:24:23 +0100 (CET) Received: from mx1.redhat.com ([209.132.183.28]:57526 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6862035Ab3KLNYJsHlzm (ORCPT ); Tue, 12 Nov 2013 14:24:09 +0100 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rACDNmq2018821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 12 Nov 2013 08:23:49 -0500 Received: from deneb.redhat.com (ovpn-113-54.phx2.redhat.com [10.3.113.54]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rACDNiPu022093; Tue, 12 Nov 2013 08:23:45 -0500 From: Mark Salter To: linux-kernel@vger.kernel.org Cc: Mark Salter , Arnd Bergmann , linux-arch@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, Richard Kuo , linux-hexagon@vger.kernel.org, James Hogan , linux-metag@vger.kernel.org, Michal Simek , microblaze-uclinux@itee.uq.edu.au, Ralf Baechle , linux-mips@linux-mips.org, Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 00/11] Consolidate asm/fixmap.h files Date: Tue, 12 Nov 2013 08:22:14 -0500 Message-Id: <1384262545-20875-1-git-send-email-msalter@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 38506 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: msalter@redhat.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This suport is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates all of the common bits into asm-generic/fixmap.h which is intended to be included from arch/*/include/asm/fixmap.h. This has been compiled on x86, arm, powerpc, and sh, but tested on x86 only. Mark Salter (11): Add generic fixmap.h x86: use generic fixmap.h arm: use generic fixmap.h hexagon: use generic fixmap.h metag: use generic fixmap.h microblaze: use generic fixmap.h mips: use generic fixmap.h powerpc: use generic fixmap.h sh: use generic fixmap.h tile: use generic fixmap.h um: use generic fixmap.h arch/arm/include/asm/fixmap.h | 25 ++------ arch/hexagon/include/asm/fixmap.h | 40 +------------ arch/metag/include/asm/fixmap.h | 32 +---------- arch/microblaze/include/asm/fixmap.h | 44 +------------- arch/mips/include/asm/fixmap.h | 33 +---------- arch/powerpc/include/asm/fixmap.h | 44 +------------- arch/sh/include/asm/fixmap.h | 39 +------------ arch/tile/include/asm/fixmap.h | 33 +---------- arch/um/include/asm/fixmap.h | 40 +------------ arch/x86/include/asm/fixmap.h | 59 +------------------ include/asm-generic/fixmap.h | 107 +++++++++++++++++++++++++++++++++++ 11 files changed, 125 insertions(+), 371 deletions(-) create mode 100644 include/asm-generic/fixmap.h -- 1.8.3.1