lkml.org 
[lkml]   [1998]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why asmlinkage is needed?
On Sun, 16 Aug 1998, Michael Elizabeth Chastain wrote:

>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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.036 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site