Re: [PATCH mmotm] x86, mm: ioremap_pud_capable can be static

From: Toshi Kani
Date: Thu Mar 05 2015 - 11:49:02 EST


On Thu, 2015-03-05 at 20:35 +0800, kbuild test robot wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Thanks for the update!

Reviewed-by: Toshi Kani <toshi.kani@xxxxxx>

-Toshi


> ---
> ioremap.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/ioremap.c b/lib/ioremap.c
> index 3055ada..1634c53 100644
> --- a/lib/ioremap.c
> +++ b/lib/ioremap.c
> @@ -14,9 +14,9 @@
> #include <asm/pgtable.h>
>
> #ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
> -int __read_mostly ioremap_pud_capable;
> -int __read_mostly ioremap_pmd_capable;
> -int __read_mostly ioremap_huge_disabled;
> +static int __read_mostly ioremap_pud_capable;
> +static int __read_mostly ioremap_pmd_capable;
> +static int __read_mostly ioremap_huge_disabled;
>
> static int __init set_nohugeiomap(char *str)
> {
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/