Re: [PATCH] cleanup remove obsolete comment about map_chunk

From: Geert Uytterhoeven
Date: Tue Dec 22 2009 - 14:07:26 EST


On Thu, Oct 22, 2009 at 15:07, Philippe De Muyter <phdm@xxxxxxxxx> wrote:
> Remove the comments referring to a function map_chunk that no longer exists.

Thanks!

I'll take it through the m68k tree. The h8300 case was copied from m68k anyway.

> Signed-off-by: Philippe De Muyter <phdm@xxxxxxxxx>
>
> diff --git a/arch/h8300/mm/memory.c b/arch/h8300/mm/memory.c
> --- a/arch/h8300/mm/memory.c
> +++ b/arch/h8300/mm/memory.c

> @@ -44,8 +44,8 @@ void cache_push_v (unsigned long vaddr,
> Â{
> Â}
>
> -/* Map some physical address range into the kernel address space. The
> - * code is copied and adapted from map_chunk().
> +/*
> + * Map some physical address range into the kernel address space.
> Â*/
>
> Âunsigned long kernel_map(unsigned long paddr, unsigned long size,
> diff --git a/arch/m68k/mm/kmap.c b/arch/m68k/mm/kmap.c
> --- a/arch/m68k/mm/kmap.c
> +++ b/arch/m68k/mm/kmap.c
> @@ -99,8 +99,7 @@ static inline void free_io_area(void *ad
> Â#endif
>
> Â/*
> - * Map some physical address range into the kernel address space. The
> - * code is copied and adapted from map_chunk().
> + * Map some physical address range into the kernel address space.
> Â*/
> Â/* Rewritten by Andreas Schwab to remove all races. */
>
> diff --git a/arch/m68knommu/mm/memory.c b/arch/m68knommu/mm/memory.c
> --- a/arch/m68knommu/mm/memory.c
> +++ b/arch/m68knommu/mm/memory.c
> @@ -24,7 +24,6 @@
>
> Â/*
> Â* Map some physical address range into the kernel address space.
> - * The code is copied and adapted from map_chunk().
> Â*/
>
> Âunsigned long kernel_map(unsigned long paddr, unsigned long size,
> --
> 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/
>



--
Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/