From patchwork Wed May 4 20:34:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 94140 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 85A05B6EED for ; Thu, 5 May 2011 06:36:32 +1000 (EST) Received: from localhost ([::1]:36147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHio9-0003TS-TA for incoming@patchwork.ozlabs.org; Wed, 04 May 2011 16:36:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHimR-0000uh-BD for qemu-devel@nongnu.org; Wed, 04 May 2011 16:34:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHimQ-00029A-IH for qemu-devel@nongnu.org; Wed, 04 May 2011 16:34:43 -0400 Received: from mail-pw0-f45.google.com ([209.85.160.45]:48605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHimQ-000280-AP for qemu-devel@nongnu.org; Wed, 04 May 2011 16:34:42 -0400 Received: by mail-pw0-f45.google.com with SMTP id 6so835954pwi.4 for ; Wed, 04 May 2011 13:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references; bh=KBADguQJXtuoEpF/a2vjaeKNVOtYSDWIVFLLE6KPdZc=; b=Ip0Tcmsa/V9Kdv8pzdyWtRhUqliDbBhx0Lj0Ola9R+jletuNSEvZDX21eKrRBHTvJk X/fQeuTMbJfBluLZsmMvnRjDEo57XmZU1tQaMRziLqImZEIIn69ukszIowjY5TjUTbz4 +q6z5j73O/MjL/ofpYULERryECHHUiUPS7yqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=qineU2O86UwuoJ0tB0T6aUjFGJkMloscymjOboEgb6yyhbRbaTxoE2w45OyO9UQXiN a21WQnAjI92XwWhKdaIVc1jIMsFtFKel13N9FDQ7FR9pWk31UVGJ2aJVDvUl61ywB3ee VCbokKxWo1Ef4R4wgtcVoLc49BRkvMQKIFzQU= Received: by 10.68.59.101 with SMTP id y5mr2008805pbq.492.1304541281966; Wed, 04 May 2011 13:34:41 -0700 (PDT) Received: from localhost.localdomain (are.twiddle.net [75.101.38.216]) by mx.google.com with ESMTPS id q19sm939433pbt.88.2011.05.04.13.34.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 May 2011 13:34:41 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 4 May 2011 13:34:26 -0700 Message-Id: <1304541271-5891-4-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1304541271-5891-1-git-send-email-rth@twiddle.net> References: <1304541271-5891-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.45 Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH 3/8] target-mips: Do not check CPU_INTERRUPT_TIMER. 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 This bit is never set, therefore we should not read it either. Signed-off-by: Richard Henderson --- target-mips/exec.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/target-mips/exec.h b/target-mips/exec.h index b3c5a13..607edf1 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -29,10 +29,6 @@ static inline int cpu_has_work(CPUState *env) has_work = 1; } - if (env->interrupt_request & CPU_INTERRUPT_TIMER) { - has_work = 1; - } - return has_work; }