From patchwork Tue Oct 22 16:12:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 3083811 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E9BCBBF924 for ; Tue, 22 Oct 2013 16:14:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2A6C20268 for ; Tue, 22 Oct 2013 16:14:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD5D1202F8 for ; Tue, 22 Oct 2013 16:14:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754676Ab3JVQNH (ORCPT ); Tue, 22 Oct 2013 12:13:07 -0400 Received: from mga02.intel.com ([134.134.136.20]:61399 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754370Ab3JVQNE (ORCPT ); Tue, 22 Oct 2013 12:13:04 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 22 Oct 2013 09:12:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,549,1378882800"; d="scan'208";a="415251785" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.86]) by fmsmga001.fm.intel.com with ESMTP; 22 Oct 2013 09:12:31 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 24236300D2F; Tue, 22 Oct 2013 09:12:31 -0700 (PDT) From: Andi Kleen To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, Andi Kleen , gleb@redhat.com, pbonzini@redhat.com, kvm@vger.kernel.org Subject: [PATCH 01/11] asmlinkage, kvm: Make kvm_rebooting visible Date: Tue, 22 Oct 2013 09:12:16 -0700 Message-Id: <1382458346-24811-2-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1382458346-24811-1-git-send-email-andi@firstfloor.org> References: <1382458346-24811-1-git-send-email-andi@firstfloor.org> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.3 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 From: Andi Kleen 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: Gleb Natapov --- 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 a9dd682..6ca3564 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -95,7 +95,7 @@ static void hardware_disable_all(void); static void kvm_io_bus_destroy(struct kvm_io_bus *bus); -bool kvm_rebooting; +__visible bool kvm_rebooting; EXPORT_SYMBOL_GPL(kvm_rebooting); static bool largepages_enabled = true;