[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C1676C0.60105@zytor.com>
Date: Mon, 14 Jun 2010 11:36:48 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>
CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, jbarnes@...tuousgeek.org
Subject: Re: [PATCH 2/4] x86: ioremap: fix physical address check
On 06/14/2010 04:06 AM, Kenji Kaneshige wrote:
> Index: linux-2.6.34/include/linux/vmalloc.h
> ===================================================================
> --- linux-2.6.34.orig/include/linux/vmalloc.h
> +++ linux-2.6.34/include/linux/vmalloc.h
> @@ -30,7 +30,7 @@ struct vm_struct {
> unsigned long flags;
> struct page **pages;
> unsigned int nr_pages;
> - unsigned long phys_addr;
> + phys_addr_t phys_addr;
> void *caller;
> };
This really doesn't look right at all. If this was required then it
would seem that anything using high addresses would be broken... as such
I can only assume it matters only for lowmem pages...
-hpa
--
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