lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] x86: early_ioremap_reset fix

* Huang, Ying <ying.huang@intel.com> wrote:

> This patch fixes a bug of early_ioremap_reset.
>
> Signed-off-by: Huang Ying <ying.huang@intel.com>
>
> ---
> arch/x86/mm/ioremap_32.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/arch/x86/mm/ioremap_32.c
> +++ b/arch/x86/mm/ioremap_32.c
> @@ -285,7 +285,7 @@ void __init early_ioremap_reset(void)
> pte_t *pte;
>
> after_paging_init = 1;
> - for (idx = FIX_BTMAP_BEGIN; idx <= FIX_BTMAP_END; idx--) {
> + for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) {
> addr = fix_to_virt(idx);

thanks, applied.

Ingo


\
 
 \ /
  Last update: 2008-01-25 10:05    [W:0.238 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site