Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759592Ab2JLCaX (ORCPT ); Thu, 11 Oct 2012 22:30:23 -0400 Received: from ozlabs.org ([203.10.76.45]:60900 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759576Ab2JLCaW (ORCPT ); Thu, 11 Oct 2012 22:30:22 -0400 From: Rusty Russell To: Alexander Duyck , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, andi@firstfloor.org Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Alexander Duyck Subject: Re: [PATCH v2 8/8] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols In-Reply-To: <20121011205035.12787.84083.stgit@gitlad.jf.intel.com> References: <20121011204324.12787.30514.stgit@gitlad.jf.intel.com> <20121011205035.12787.84083.stgit@gitlad.jf.intel.com> User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Fri, 12 Oct 2012 09:17:33 +1030 Message-ID: <87obk862yi.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 18 Alexander Duyck writes: > The function lguest_write_cr3 is using __pa to convert swapper_pg_dir and > initial_page_table from virtual addresses to physical. The correct function > to use for these values is __pa_symbol since they are C visible symbols. > > Cc: Rusty Russell > Signed-off-by: Alexander Duyck Acked-by: Rusty Russell Thanks, Rusty. -- 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/