From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752810AbXKJJm1 (ORCPT ); Sat, 10 Nov 2007 04:42:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751334AbXKJJmT (ORCPT ); Sat, 10 Nov 2007 04:42:19 -0500 Received: from E23SMTP01.au.ibm.com ([202.81.18.162]:60043 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbXKJJmS (ORCPT ); Sat, 10 Nov 2007 04:42:18 -0500 Date: Sat, 10 Nov 2007 15:11:49 +0530 From: Kamalesh Babulal To: linux-kernel@vger.kernel.org Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, dada1@cosmosbay.com, davem@davemloft.net, apw@shadowen.org Subject: [PATCH](resend) 2.6.24-rc2-git1 Build fails in selinux/hooks. Message-ID: <20071110094149.GA25923@linux.vnet.ibm.com> Reply-To: Kamalesh Babulal MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, The 2.6.24-rc2-git1 kernel build fails, with following error CC security/selinux/hooks.o In file included from include/net/tcp.h:35, from security/selinux/hooks.c:52: include/net/inet_hashtables.h: In function 'inet_ehash_locks_alloc': include/net/inet_hashtables.h:165: error: implicit declaration of function 'vmalloc' include/net/inet_hashtables.h:165: warning: assignment makes pointer from integer without a cast include/net/inet_hashtables.h: In function 'inet_ehash_locks_free': include/net/inet_hashtables.h:186: error: implicit declaration of function 'vfree' make[2]: *** [security/selinux/hooks.o] Error 1 make[1]: *** [security/selinux] Error 2 make: *** [security] Error 2 The commit 230140cffa7feae90ad50bf259db1fa07674f3a7 ([INET]: Remove per bucket rwlock in tcp/dccp ehash table.) caused this build failure. Signed-off-by: Kamalesh Babulal -- diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 8461cda..469216d 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.