From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755359Ab1FGDh3 (ORCPT ); Mon, 6 Jun 2011 23:37:29 -0400 Received: from mail.perches.com ([173.55.12.10]:2577 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755133Ab1FGDh2 (ORCPT ); Mon, 6 Jun 2011 23:37:28 -0400 Subject: Re: [PATCH 8/8] arch/x86: use printk_ratelimited instead of printk_ratelimit From: Joe Perches To: Rusty Russell Cc: richard -rw- weinberger , Christian Dietrich , "Venkatesh Pallipadi (Venki)" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Avi Kivity , Marcelo Tosatti , Kevin Tian , Fengzhe Zhang , John Stultz , Lucas De Marchi , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, lguest@lists.ozlabs.org, trivial@kernel.org In-Reply-To: <87mxhugwu1.fsf@rustcorp.com.au> References: <874o43ii1m.fsf@rustcorp.com.au> <87mxhugwu1.fsf@rustcorp.com.au> Content-Type: text/plain; charset="UTF-8" Date: Mon, 06 Jun 2011 20:37:25 -0700 Message-ID: <1307417845.4994.57.camel@Joe-Laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-06-07 at 12:41 +0930, Rusty Russell wrote: > On Mon, 6 Jun 2011 10:11:53 +0200, richard -rw- weinberger wrote: > > printk_ratelimited() needs DEFINE_RATELIMIT_STATE() which is defined > > in ratelimit.h. > Yech. I'm assuming that making printk.h include ratelimit.h makes a > nasty mess? Yup. I proposed moving the _ratelimited dclarations to ratelimited.h without any comment. http://lkml.org/lkml/2010/2/18/377