lkml.org 
[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.8-rc4-mm1: legacy_va_layout compile error with SYSCTL=n
On Wed, Aug 11, 2004 at 03:33:53PM -0700, William Lee Irwin III wrote:
>> Does this help?

On Wed, Aug 11, 2004 at 03:42:17PM -0700, William Lee Irwin III wrote:
> Hmm, looks like there's a hugetlb warning too.

hugetlb CONFIG_SYSCTL=n fix, take 2: the real thing.


Index: mm1-2.6.8-rc4/mm/hugetlb.c
===================================================================
--- mm1-2.6.8-rc4.orig/mm/hugetlb.c 2004-08-10 23:00:25.100832480 -0700
+++ mm1-2.6.8-rc4/mm/hugetlb.c 2004-08-11 15:34:59.574933488 -0700
@@ -123,6 +123,7 @@
}
__setup("hugepages=", hugetlb_setup);

+#ifdef CONFIG_SYSCTL
static void update_and_free_page(struct page *page)
{
int i;
@@ -188,7 +189,6 @@
return nr_huge_pages;
}

-#ifdef CONFIG_SYSCTL
int hugetlb_sysctl_handler(struct ctl_table *table, int write,
struct file *file, void __user *buffer,
size_t *length, loff_t *ppos)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.035 / U:1.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site