From patchwork Sat Apr 30 22:24: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: 93530 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 9EC8CB6EF0 for ; Sun, 1 May 2011 08:26:47 +1000 (EST) Received: from localhost ([::1]:59548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGIce-0002Z8-TO for incoming@patchwork.ozlabs.org; Sat, 30 Apr 2011 18:26:44 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGIah-0007o6-JT for qemu-devel@nongnu.org; Sat, 30 Apr 2011 18:24:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGIag-0004hm-VD for qemu-devel@nongnu.org; Sat, 30 Apr 2011 18:24:43 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:55510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGIag-0004hb-Qf for qemu-devel@nongnu.org; Sat, 30 Apr 2011 18:24:42 -0400 Received: by pvg3 with SMTP id 3so3473639pvg.4 for ; Sat, 30 Apr 2011 15:24: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=vVoNOxE2CitwIVTXmxCNY/73cFLTysTX99rC0n3COxAtnwhIpnAKcBM5OWeJtS+fDo 94rRVzV505WXgaiJxJuCZBo/7RSHQAhv28OpZc3zeMHS+0MYFx7TiCzctX+VOlfiSkfY O2+YxFJcvdwNFOnoZBZiaX7ZpdEkrrYXAb7jg= 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=sGhHAWiTfXft3vR5k/8xmjxANpyKFp5X9B4caINTd3uhUlOVAHRkgGlrGDUYLTdtw4 rEcCj53xis0AuLAaXm6FNSAVL4FXV8KBwNEuriLdEPSXu0ifwiJ02i11u2Kef7yKW19r cf40Fr1Vu1fQI0RbtPhpiqgwtYD9J455+JW9U= Received: by 10.68.65.40 with SMTP id u8mr1264383pbs.229.1304202281984; Sat, 30 Apr 2011 15:24:41 -0700 (PDT) Received: from localhost.localdomain (are.twiddle.net [75.101.38.216]) by mx.google.com with ESMTPS id y7sm2797195pbk.30.2011.04.30.15.24.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Apr 2011 15:24:41 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 30 Apr 2011 15:24:26 -0700 Message-Id: <1304202271-24730-4-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1304202271-24730-1-git-send-email-rth@twiddle.net> References: <1304202271-24730-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.173 Cc: Blue Swirl , Aurelien Jarno 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; }