Message ID | 1406196811-5384-2-git-send-email-drjones@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDY2J6HAR4PBBM5ZYOPAKGQED6TIV4Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A9B0D20C7F for <linaro@patches.linaro.org>; Thu, 24 Jul 2014 10:15:16 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf17375131pab.9 for <linaro@patches.linaro.org>; Thu, 24 Jul 2014 03:15:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=CyxHQ65c5U/t2p2aMcOv6YrPXq3HXX58mQSRZciY+Wg=; b=mzLKZnNuGh4ASJOKnVO44T9CIOGLAHIufdRz351uxUr7l+K4anQRGDFphDxL8ZjXfF /wXiY1f4tcWBYKawrzv6xvW8NCJdXnlRvmDz1Lzp/Stm/lw96A/dH3tbA7yIlJ6kgjv3 nZu/LHFGSaq1dWTWD15Ldo20li4EOZT5ffC0zGZVWEStPcrJDv2u/Y7L97UZArY5A8kQ F39/d34fA9u3k51TUcMaYckTUUnm9mLPMw7A3G4pvvmwXnTHi/0jmTRjsN/1S8qfyQ4n WTS+60poz2h7WV/32nn+SwcpdGNY3A9D7RH0cCkhcjJcAnlVc6cSy9gHIFR9ob518m/M W/3A== X-Gm-Message-State: ALoCoQk6z6l1qsKWKh6Gk6ym9MeknWXFGeBERlfyLDQ6zFp7AwbJEMPt6JGnqSGLQIgIfbaUKKsg X-Received: by 10.66.148.101 with SMTP id tr5mr3889637pab.10.1406196915994; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.169 with SMTP id f38ls652333qgd.24.gmail; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) X-Received: by 10.52.252.226 with SMTP id zv2mr8771755vdc.19.1406196915832; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id a7si4596235veq.68.2014.07.24.03.15.15 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 03:15:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so4518415vcb.13 for <patchwork-forward@linaro.org>; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) X-Received: by 10.52.244.81 with SMTP id xe17mr8982172vdc.24.1406196915769; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp352128vcb; Thu, 24 Jul 2014 03:15:15 -0700 (PDT) X-Received: by 10.69.18.65 with SMTP id gk1mr8995264pbd.68.1406196914958; Thu, 24 Jul 2014 03:15:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ly9si5452397pab.211.2014.07.24.03.15.05 for <multiple recipients>; Thu, 24 Jul 2014 03:15:14 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758917AbaGXKPC (ORCPT <rfc822;yazen.ghannam@linaro.org> + 14 others); Thu, 24 Jul 2014 06:15:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26177 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932857AbaGXKNq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Jul 2014 06:13:46 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6OADjWW016688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Jul 2014 06:13:45 -0400 Received: from hawk.usersys.redhat.com (dhcp-1-116.brq.redhat.com [10.34.1.116]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6OADfsc014369; Thu, 24 Jul 2014 06:13:43 -0400 From: Andrew Jones <drjones@redhat.com> To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: uobergfe@redhat.com, dzickus@redhat.com, pbonzini@redhat.com, akpm@linux-foundation.org, mingo@redhat.com Subject: [PATCH 1/3] watchdog: fix print-once on enable Date: Thu, 24 Jul 2014 12:13:29 +0200 Message-Id: <1406196811-5384-2-git-send-email-drjones@redhat.com> In-Reply-To: <1406196811-5384-1-git-send-email-drjones@redhat.com> References: <1406196811-5384-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: drjones@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index c3319bd1b0408..c985a21926545 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -511,6 +511,9 @@ static void watchdog_nmi_disable(unsigned int cpu) /* should be in cleanup, but blocks oprofile */ perf_event_release_kernel(event); } + if (cpu == 0) + /* watchdog_nmi_enable() expects this to be zero initially. */ + cpu0_err = 0; return; } #else