Re: [PATCH] [8/7] oprofile - dcookies need to use u32

David S. Miller (davem@redhat.com)
Fri, 01 Nov 2002 02:27:43 -0800 (PST)


From: John Levon <levon@movementarian.org>
Date: Fri, 1 Nov 2002 04:33:04 +0000

The problem is this would trivially break cross-compilation. Would it
not be better to stick something in the glibc's bits/types.h
per-platform ?

Not that I particularly fancy going near glibc...

No, becuase this is an attribute of the cpu the binary
is executing on, not an attribute of the ABI under which
userland compilation are taking place.

At run time, you probe this /proc/sys/kernel/pointer_size
value. In fact, this should have no effect whatsoever on
cross-compilation. I thought we were quite clear on this
solution?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/