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]
Message-Id: <20080727102433.e28d858b.yoichi_yuasa@tripeaks.co.jp>
Date:	Sun, 27 Jul 2008 10:24:33 +0900
From:	Yoichi Yuasa <yoichi_yuasa@...peaks.co.jp>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	yoichi_yuasa@...peaks.co.jp,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] fix arch_pick_mmap_layout() build error

uninline arch_pick_mmap_layout()[16d69265b930f7e2fa9eea381715696f780718f4]
has forgotten to add #include <linux/sched.h>.

mm/util.c: In function 'arch_pick_mmap_layout':
mm/util.c:145: error: 'arch_get_unmapped_area' undeclared (first use in this function)
mm/util.c:145: error: (Each undeclared identifier is reported only once
mm/util.c:145: error: for each function it appears in.)
mm/util.c:146: error: 'arch_unmap_area' undeclared (first use in this function)
make[1]: *** [mm/util.o] Error 1

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@...peaks.co.jp>

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/mm/util.c linux/mm/util.c
--- linux-orig/mm/util.c	2008-07-27 09:58:16.643441756 +0900
+++ linux/mm/util.c	2008-07-27 10:02:26.069593850 +0900
@@ -1,4 +1,5 @@
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/module.h>

--
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