Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759430Ab0BYPy3 (ORCPT ); Thu, 25 Feb 2010 10:54:29 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:35392 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759360Ab0BYPyZ (ORCPT ); Thu, 25 Feb 2010 10:54:25 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=CKq4zX/8rALgSfqO894KoIgoHGng2epGlDgn7x03UZWfzaubXcahFaSySzrgPAVB9h l9kMq9PamBj/NfmOVqHZ7BlCIo7o6vFLUp4UMgcqDJMe+NBaZcYm7x8WSRqZojgxXgRB /bEqWT8SlwfiHqLrpNF94lRs8HJ+WwyBB088c= Date: Thu, 25 Feb 2010 23:54:19 +0800 From: Dave Young To: Mauro Carvalho Chehab , HIRANO Takahito , Hans Verkuil , Miroslav Sustek , Andrew Morton , Ingo Molnar , Steven Rostedt , Frederic Weisbecker , Balbir Singh , Pavel Emelyanov , Li Zefan , linux-kernel@vger.kernel.org Subject: [PATCH 06/07] kernel.h int_sqrt cleanup Message-ID: <20100225155419.GA2724@darkstar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5430 Lines: 157 int_sqrt in kernel.h should be put into a standalone head file cleanup int_sqrt declarations in kernel.h, put them into int_sqrt.h include int_sqrt.h in every file which need it Signed-off-by: Dave Young --- drivers/media/dvb/pt1/va1j5jf8007s.c | 1 + drivers/media/video/cx88/cx88-dsp.c | 1 + drivers/net/wireless/b43/phy_lp.c | 1 + drivers/staging/comedi/drivers/vmk80xx.c | 1 + drivers/video/fbmon.c | 1 + fs/nfs/write.c | 1 + include/linux/int_sqrt.h | 6 ++++++ include/linux/kernel.h | 2 -- lib/int_sqrt.c | 1 + mm/memcontrol.c | 1 + mm/oom_kill.c | 1 + mm/page_alloc.c | 1 + net/ipv4/route.c | 1 + 13 files changed, 17 insertions(+), 2 deletions(-) --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-2.6/include/linux/int_sqrt.h 2010-02-25 21:00:28.000000000 +0800 @@ -0,0 +1,6 @@ +#ifndef _INT_SQRT_H +#define _INT_SQRT_H + +extern unsigned long int_sqrt(unsigned long); + +#endif --- linux-2.6.orig/drivers/media/dvb/pt1/va1j5jf8007s.c 2010-02-25 20:59:59.000000000 +0800 +++ linux-2.6/drivers/media/dvb/pt1/va1j5jf8007s.c 2010-02-25 21:00:28.000000000 +0800 @@ -25,6 +25,7 @@ #include #include #include +#include #include "dvb_frontend.h" #include "va1j5jf8007s.h" --- linux-2.6.orig/drivers/media/video/cx88/cx88-dsp.c 2010-02-25 20:59:59.000000000 +0800 +++ linux-2.6/drivers/media/video/cx88/cx88-dsp.c 2010-02-25 21:00:28.000000000 +0800 @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "cx88.h" --- linux-2.6.orig/drivers/net/wireless/b43/phy_lp.c 2010-02-25 20:59:59.000000000 +0800 +++ linux-2.6/drivers/net/wireless/b43/phy_lp.c 2010-02-25 21:00:28.000000000 +0800 @@ -23,6 +23,7 @@ */ +#include #include "b43.h" #include "main.h" #include "phy_lp.h" --- linux-2.6.orig/drivers/staging/comedi/drivers/vmk80xx.c 2010-02-25 20:59:59.000000000 +0800 +++ linux-2.6/drivers/staging/comedi/drivers/vmk80xx.c 2010-02-25 21:00:28.000000000 +0800 @@ -61,6 +61,7 @@ Changelog: #include #include #include +#include #include "../comedidev.h" --- linux-2.6.orig/drivers/video/fbmon.c 2010-02-25 20:59:59.000000000 +0800 +++ linux-2.6/drivers/video/fbmon.c 2010-02-25 21:00:28.000000000 +0800 @@ -29,6 +29,7 @@ #include #include #include +#include #include