From patchwork Sun Mar 13 20:16:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palle Lyckegaard X-Patchwork-Id: 86614 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DE486B6F7B for ; Mon, 14 Mar 2011 07:17:57 +1100 (EST) Received: from localhost ([127.0.0.1]:46133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pyrjf-0003M2-8j for incoming@patchwork.ozlabs.org; Sun, 13 Mar 2011 16:17:55 -0400 Received: from [140.186.70.92] (port=34403 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pyrj5-0003K7-Hj for qemu-devel@nongnu.org; Sun, 13 Mar 2011 16:17:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pyrj4-00058g-5Q for qemu-devel@nongnu.org; Sun, 13 Mar 2011 16:17:19 -0400 Received: from mx.freeshell.org ([192.94.73.19]:61435 helo=sdf.lonestar.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pyrj3-000549-Up for qemu-devel@nongnu.org; Sun, 13 Mar 2011 16:17:18 -0400 Received: from otaku.freeshell.org (palle@otaku.freeshell.org [192.94.73.16]) by sdf.lonestar.org (8.14.4/8.14.3) with ESMTP id p2DKGqOh013946 for ; Sun, 13 Mar 2011 20:16:53 GMT Date: Sun, 13 Mar 2011 20:16:52 +0000 (UTC) From: Palle Lyckegaard X-X-Sender: palle@otaku.freeshell.org To: qemu-devel Message-ID: User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: NetBSD 3.0 (DF) X-Received-From: 192.94.73.19 Subject: [Qemu-devel] [PATCH] Added missing sigbus_reraise() to non-Linux platforms X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi, File cpus.c seems to be missing sigbus_reraise() on non-Linux platforms. The following patch fixes building qemu on Solaris 11 Express (SPARC). Regards Palle Signed-off-by: Palle Lyckegaard Reviewed-by: Stefan Hajnoczi --- cpus.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 077729c..02ba1be 100644 --- a/cpus.c +++ b/cpus.c @@ -250,6 +250,11 @@ static void qemu_init_sigbus(void) static void qemu_init_sigbus(void) { } + +static void sigbus_reraise(void) +{ +} + #endif /* !CONFIG_LINUX */ #ifndef _WIN32