From patchwork Sat Feb 8 07:51:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 3609411 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 771B59F2D6 for ; Sat, 8 Feb 2014 07:57:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADF2B2017B for ; Sat, 8 Feb 2014 07:57:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA3B220172 for ; Sat, 8 Feb 2014 07:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751537AbaBHH5B (ORCPT ); Sat, 8 Feb 2014 02:57:01 -0500 Received: from mga01.intel.com ([192.55.52.88]:13411 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751481AbaBHHwz (ORCPT ); Sat, 8 Feb 2014 02:52:55 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 07 Feb 2014 23:52:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,805,1384329600"; d="scan'208";a="477987515" Received: from laut.jf.intel.com (HELO localhost) ([10.23.232.94]) by fmsmga002.fm.intel.com with ESMTP; 07 Feb 2014 23:52:54 -0800 Received: by localhost (Postfix, from userid 1000) id 81B83124ACD; Sat, 8 Feb 2014 08:52:16 +0100 (CET) From: Andi Kleen To: akpm@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen , gleb@redhat.com, pbonzini@redhat.com, kvm@vger.kernel.org Subject: [PATCH 01/14] asmlinkage, kvm: Make kvm_rebooting visible Date: Sat, 8 Feb 2014 08:51:57 +0100 Message-Id: <1391845930-28580-1-git-send-email-ak@linux.intel.com> X-Mailer: git-send-email 1.8.5.2 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP kvm_rebooting is referenced from assembler code, thus needs to be visible. Cc: gleb@redhat.com Cc: pbonzini@redhat.com Cc: kvm@vger.kernel.org Signed-off-by: Andi Kleen Acked-by: Paolo Bonzini --- virt/kvm/kvm_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 03a0381..b5ec7fb 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -102,7 +102,7 @@ static void kvm_release_pfn_dirty(pfn_t pfn); static void mark_page_dirty_in_slot(struct kvm *kvm, struct kvm_memory_slot *memslot, gfn_t gfn); -bool kvm_rebooting; +__visible bool kvm_rebooting; EXPORT_SYMBOL_GPL(kvm_rebooting); static bool largepages_enabled = true;