From patchwork Mon Aug 5 22:12:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 2839073 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 5969FBF535 for ; Mon, 5 Aug 2013 22:12:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C22A20499 for ; Mon, 5 Aug 2013 22:12:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6797A20497 for ; Mon, 5 Aug 2013 22:12:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755208Ab3HEWMd (ORCPT ); Mon, 5 Aug 2013 18:12:33 -0400 Received: from mga14.intel.com ([143.182.124.37]:19435 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755156Ab3HEWMd (ORCPT ); Mon, 5 Aug 2013 18:12:33 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 05 Aug 2013 15:12:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,821,1367996400"; d="scan'208";a="342114955" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.78]) by azsmga001.ch.intel.com with ESMTP; 05 Aug 2013 15:12:32 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 5ABD8300FC8; Mon, 5 Aug 2013 15:12:32 -0700 (PDT) From: Andi Kleen To: gleb@redhat.com Cc: kvm@vger.kernel.org, pbonzini@redhat.com, Andi Kleen Subject: [PATCH] kvm: Make kvm_rebooting visible Date: Mon, 5 Aug 2013 15:12:27 -0700 Message-Id: <1375740747-7769-1-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.8.3.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.9 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. Signed-off-by: Andi Kleen --- 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 1580dd4..eff6abd 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;