From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Date: Tue, 28 Jan 2003 19:44:05 +0000 Subject: Re: [Linux-ia64] kernel update (relative to 2.5.59) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org David Mosberger writes: Hi David, > I just uploaded the latest ia64 patch to the usual location(s). You > can get it from ftp.kernel.org/pub/linux/ia64/ports/v2.5/ in > file: > > linux-2.5.59-ia64-030124.diff.gz This patch was needed to get the kernel to compile with hugetlb enabled. -Arun --- linux-2.5.59/arch/ia64/kernel/sys_ia64.c- Mon Jan 27 19:04:07 2003 +++ linux-2.5.59/arch/ia64/kernel/sys_ia64.c Mon Jan 27 19:04:16 2003 @@ -16,6 +16,7 @@ #include #include #include +#include #include #include --- linux-2.5.59/arch/ia64/mm/hugetlbpage.c- Mon Jan 27 18:49:51 2003 +++ linux-2.5.59/arch/ia64/mm/hugetlbpage.c Tue Jan 28 12:03:16 2003 @@ -242,7 +242,7 @@ ret = -ENOMEM; goto out; } - add_to_page_cache(page, mapping, idx); + add_to_page_cache(page, mapping, idx, GFP_ATOMIC); unlock_page(page); } set_huge_pte(mm, vma, page, pte, vma->vm_flags & VM_WRITE);