From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from TX2EHSOBE007.bigfish.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id EC27EB71A4 for ; Tue, 11 Oct 2011 05:00:21 +1100 (EST) Message-ID: <4E9332AA.1050307@freescale.com> Date: Mon, 10 Oct 2011 13:00:10 -0500 From: Scott Wood MIME-Version: 1.0 To: "Suzuki K. Poulose" Subject: Re: [PATCH 2/3] [44x] Enable CONFIG_RELOCATABLE for PPC44x References: <20111010094627.16589.52367.stgit@suzukikp.in.ibm.com> <20111010095514.16589.85241.stgit@suzukikp.in.ibm.com> In-Reply-To: <20111010095514.16589.85241.stgit@suzukikp.in.ibm.com> Content-Type: text/plain; charset="UTF-8" Cc: Michal Simek , tmarri@apm.com, Mahesh Jagannath Salgaonkar , Dave Hansen , David Laight , Paul Mackerras , linux ppc dev , Vivek Goyal List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 10/10/2011 04:56 AM, Suzuki K. Poulose wrote: > #if defined(CONFIG_RELOCATABLE) && defined(CONFIG_44x) > #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) - PHYSICAL_START + (KERNELBASE + RELOC_OFFSET))) > #define __pa(x) ((unsigned long)(x) + PHYSICAL_START - (KERNELBASE + RELOC_OFFSET)) > #endif Why is this 44x-specific? -Scott