From patchwork Sat Jun 9 16:19:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Blue Swirl X-Patchwork-Id: 163930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C5717B6F13 for ; Sun, 10 Jun 2012 02:20:00 +1000 (EST) Received: from localhost ([::1]:53412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdOOM-0003EB-E9 for incoming@patchwork.ozlabs.org; Sat, 09 Jun 2012 12:19:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdONy-0002jK-FO for qemu-devel@nongnu.org; Sat, 09 Jun 2012 12:19:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdONv-0003L4-5i for qemu-devel@nongnu.org; Sat, 09 Jun 2012 12:19:34 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:35454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdONu-0003KN-Sz for qemu-devel@nongnu.org; Sat, 09 Jun 2012 12:19:31 -0400 Received: by mail-ee0-f45.google.com with SMTP id d41so1793682eek.4 for ; Sat, 09 Jun 2012 09:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=RMz+mdl+yxUoP1iyoVOc7QAMUkhiqCHNkf7XOxPR45Y=; b=yN3JY3nWUUyYlDmXexjHv3SThYWJqpKs7POi0T+fYvBmWwjzNxzLGhoWttPeNd4rku eQNw9h9wqYPQE3OL6sMXR4LnlNQAM+usYGC/u/78mCbNCQZNJM4/w7M6oVGRVuL02oys C/dU/aCVElYf8ApL7yB05pvoAqdtMtBKcq7huVq3iTubjIgdcoI0g/S6SCZS8oPC6WTY Hu6RnkHHN37BFVFLas+XVUWdWZ+7BkazDc4RbOxIeRRJTXiUXxoXun3XRSIB1tKx/Mxo /Hp0wlGhY06h12x0zKw61dnGyV+QVEEXXZrsBnZCXGXsJWwnSOo6jWOk9U58DEzaCeln exFg== Received: by 10.14.95.72 with SMTP id o48mr4679072eef.230.1339258769841; Sat, 09 Jun 2012 09:19:29 -0700 (PDT) Received: from localhost.localdomain (blueswirl.broker.freenet6.net. [2001:5c0:1400:b::d5a3]) by mx.google.com with ESMTPS id h53sm33625570eea.1.2012.06.09.09.19.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Jun 2012 09:19:29 -0700 (PDT) From: Blue Swirl To: qemu-devel@nongnu.org Date: Sat, 9 Jun 2012 16:19:00 +0000 Message-Id: <90e76af6b086ef5aae479b145aa1eab66a1dfc86.1339258553.git.blauwirbel@gmail.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.83.45 Subject: [Qemu-devel] [PATCH 04/25] x86: avoid an extern declaration X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org After the previous patch, we can use the proper declaration in a common header file. Signed-off-by: Blue Swirl --- target-i386/excp_helper.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c index 72bd46d..aaa5ca2 100644 --- a/target-i386/excp_helper.c +++ b/target-i386/excp_helper.c @@ -19,6 +19,7 @@ #include "cpu.h" #include "qemu-log.h" +#include "sysemu.h" #include "helper.h" #if 0 @@ -39,10 +40,6 @@ void helper_raise_exception(CPUX86State *env, int exception_index) raise_exception(env, exception_index); } - -/* This should come from sysemu.h - if we could include it here... */ -void qemu_system_reset_request(void); - /* * Check nested exceptions and change to double or triple fault if * needed. It should only be called, if this is not an interrupt.