lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 26 May 2011 21:43:28 +0200
From:	Markus Trippelsdorf <markus@...ppelsdorf.de>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: "mm: don't access vm_flags as 'int'" build failure

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 <linux/fs.h>
 #include <linux/hugetlb_inline.h>
+#include <linux/mm_types.h>
 
 struct ctl_table;
 struct user_struct;

-- 
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ