From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758333Ab1EZTnb (ORCPT ); Thu, 26 May 2011 15:43:31 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:33452 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758203Ab1EZTna (ORCPT ); Thu, 26 May 2011 15:43:30 -0400 Date: Thu, 26 May 2011 21:43:28 +0200 From: Markus Trippelsdorf To: Linux Kernel Mailing List Cc: KOSAKI Motohiro , Linus Torvalds Subject: "mm: don't access vm_flags as 'int'" build failure Message-ID: <20110526194328.GA1749@x4.trippels.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit ca16d140 (mm: don't access vm_flags as 'int') breaks the build for me: CC fs/proc/meminfo.o In file included from fs/proc/meminfo.c:2:0: include/linux/hugetlb.h:195:3: error: unknown type name ‘vm_flags_t’ This fixes the problem: diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index cf8931e..665f854 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -3,6 +3,7 @@ #include #include +#include struct ctl_table; struct user_struct; -- Markus