Messages in this thread Patch in this message | | | From | Andrea Righi <> | Subject | Re: [PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures | Date | Fri, 13 Jun 2008 00:14:53 +0200 (MEST) |
| |
Andrea Righi wrote: > I've tested the following patch on a i386 box with my usual .config and > everything seems fine. I also tested allmodconfig and some randconfig builds and > I've not seen any evident error. > > I'll repeat the tests tonight on a x86_64. Other architectures should be tested > as well...
x86_64 allmodconfig build failed due to a missing #include <linux/mm.h> in arch/x86/kernel/module_64.c.
Following patch resolves (on top of the previous one).
Except this, no errors for x86_64.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com> --- diff -urpN linux-2.6.25-rc5-mm3/arch/x86/kernel/module_64.c linux-2.6.25-rc5-mm3-fix-64-bit-page-align/arch/x86/kernel/module_64.c --- linux-2.6.25-rc5-mm3/arch/x86/kernel/module_64.c 2008-06-13 00:05:51.000000000 +0200 +++ linux-2.6.25-rc5-mm3-fix-64-bit-page-align/arch/x86/kernel/module_64.c 2008-06-13 00:06:21.000000000 +0200 @@ -22,6 +22,7 @@ #include <linux/fs.h> #include <linux/string.h> #include <linux/kernel.h> +#include <linux/mm.h> #include <linux/slab.h> #include <linux/bug.h>
| |