>What was I thinking? Of course I'm wrong here. I should have said:
>I don't know where the asmlinkage comes from, but it doesn't work
>properly with user-space C++ programs that include kernel headers.
>(That's where I first noticed it).
So it' s useless since /usr/include/{linux,asm,scsi} is avoided these
days. Every user-space program must copy these files from the kernel
sources and modify them for its own usage (adding extern "C" in the
function prototype if needed).
>For instance, on linux 2.0.33, compile a C++ program that includes
><linux/md.h>, which has user-space ioctl definitions. The compilation
The C++ program is obsolete.
Andrea[s] Arcangeli
-
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