Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933891Ab3CHMix (ORCPT ); Fri, 8 Mar 2013 07:38:53 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:34086 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932120Ab3CHMiw (ORCPT ); Fri, 8 Mar 2013 07:38:52 -0500 MIME-Version: 1.0 In-Reply-To: <1362742582-26327-1-git-send-email-james.hogan@imgtec.com> References: <1362742582-26327-1-git-send-email-james.hogan@imgtec.com> Date: Fri, 8 Mar 2013 13:38:50 +0100 Message-ID: Subject: Re: [PATCH 1/1] irq_work.h: fix warning when CONFIG_IRQ_WORK=n From: Frederic Weisbecker To: James Hogan Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Andrew Morton , Paul Gortmaker Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 28 2013/3/8 James Hogan : > A randconfig caught repeated compiler warnings when CONFIG_IRQ_WORK=n > due to the definition of a non-inline static function in > : > > include/linux/irq_work.h +40 : warning: 'irq_work_needs_cpu' defined but not used > > Make it inline to supress the warning. This is caused by the following > commit: > > Commit 00b42959106a9ca1c2899e591ae4e9a83ad6af05 ("irq_work: Don't stop > the tick with pending works") merged in v3.9-rc1. > > Signed-off-by: James Hogan > Cc: Frederic Weisbecker > Cc: Steven Rostedt > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Andrew Morton > Cc: Paul Gortmaker Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/