On Wed, Sep 07, 2005 at 03:16:24PM -0400, Martin Hicks wrote:
> 
> Attached is a very small patch to find the uncached memory on SN2.
> 

and the patch this time...

mh

-- 
Martin Hicks   ||   Silicon Graphics Inc.   ||   [EMAIL PROTECTED]


Index: linux-2.6.13/arch/ia64/kernel/efi.c
===================================================================
--- linux-2.6.13.orig/arch/ia64/kernel/efi.c    2005-09-07 07:46:05.000000000 
-0700
+++ linux-2.6.13/arch/ia64/kernel/efi.c 2005-09-07 07:47:41.000000000 -0700
@@ -831,7 +831,8 @@ efi_memmap_init(unsigned long *s, unsign
        for (p = efi_map_start; p < efi_map_end; pmd = md, p += efi_desc_size) {
                md = p;
                if (!efi_wb(md)) {
-                       if (efi_uc(md) && md->type == EFI_CONVENTIONAL_MEMORY) {
+                       if (efi_uc(md) && (md->type == EFI_CONVENTIONAL_MEMORY 
||
+                                          md->type == EFI_BOOT_SERVICES_DATA)) 
{
                                k->attribute = EFI_MEMORY_UC;
                                k->start = md->phys_addr;
                                k->num_pages = md->num_pages;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to