Re: [PATCH] dma-debug: Allow archs to overridecheck_for_illegal_area

From: Ingo Molnar
Date: Sat Aug 15 2009 - 04:47:56 EST



* David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Ingo Molnar <mingo@xxxxxxx>
> Date: Wed, 12 Aug 2009 10:54:40 +0200
>
> >
> > * Joerg Roedel <joerg.roedel@xxxxxxx> wrote:
> >
> >> For some architectures (like sparc32) the default
> >> check_for_illegal_area function does not work reliable. This patch
> >> makes this function a weak symbol allowing architectures to
> >> override it if necessary.
> >>
> >> Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>
> >> ---
> >> lib/dma-debug.c | 9 ++++++---
> >> 1 files changed, 6 insertions(+), 3 deletions(-)
> >
> > Dave, you indicated that sparc32 would address this problem
> > differently. Do we still need this patch (for .31 for example)?
>
> Don't worry about this purely for sparc32's sake.
>
> We can revisit this patch if I can't sort out the sparc32 issue
> locally.

Ok, thanks David!

Ingo
--
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/