Re: [PATCH] fix typo in per_cpu_offset

From: Simon Horman
Date: Tue Oct 30 2007 - 04:51:19 EST


On Tue, Oct 30, 2007 at 12:36:22AM -0700, David Miller wrote:
> From: Simon Horman <horms@xxxxxxxxxxxx>
> Date: Tue, 30 Oct 2007 16:15:13 +0900
>
> > Though curiuously with my config nothing uses per_cpu_offset()
> > (I added a bogus call to produce an error.) Is it actually
> > used on ia64?
>
> It is unused, and in that regard should probably be deleted.
>
> include/asm-generic/percpu.h defines a seemingly similarly
> unused per_cpu_offset() macro define as well

It looks like they were both added by "[PATCH] lockdep: add per_cpu_offset()"
(a875a69f8b00a38b4f40d9632a4fc71a159f0e0d)

Perhaps they were used at that time?

--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/

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