Re: [PATCH 1/1] Use pmd_table() MACRO for unmap_area_sections()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> [080902 22:37]:
> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx>

This should be sent to linux-arm-kernel list.

Tony

> ---
>  arch/arm/mm/ioremap.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
> index b81dbf9..9ad7614 100644
> --- a/arch/arm/mm/ioremap.c
> +++ b/arch/arm/mm/ioremap.c
> @@ -161,7 +161,7 @@ static void unmap_area_sections(unsigned long virt, unsigned long size)
>  			/*
>  			 * Free the page table, if there was one.
>  			 */
> -			if ((pmd_val(pmd) & PMD_TYPE_MASK) == PMD_TYPE_TABLE)
> +			if ((pmd_table(pmd))
>  				pte_free_kernel(&init_mm, pmd_page_vaddr(pmd));
>  		}
>  
> -- 
> 1.5.5.1.357.g1af8b
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux