Re: why asmlinkage is needed?

Andi Kleen (ak@muc.de)
Sun, 16 Aug 1998 14:56:19 +0200


On Sun, Aug 16, 1998 at 02:51:55PM +0200, Michael Elizabeth Chastain wrote:

>
> For instance, on linux 2.0.33, compile a C++ program that includes
> <linux/md.h>, which has user-space ioctl definitions. The compilation
> will blow up on a typedef for lcall7 in <linux/personality.h>.

Just add extern "C" { ... } around the includes then.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html