lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Mike Jagdis)
SubjectRe: Problem with personality.h
DateFri, 03 Jan 1997 09:02:41 GMT
>I'm writing a kernel module in C++, and I'm getting errors while
>compiling. The problem is a line in personality.h:
>
>  typedef asmlinkage void (*lcall7_func)(struct pt_regs *);
>
>where asmlinkage gets translated in C++ to extern "C".
>
>[...]
>
>BTW, is this the right place to send this message, or do I have to
>fordward it to another place?

It's been mentioned before but no one seems to have sent Linus a
patch. Is this good enough Linus?

-typedef asmlinkage void (*lcall7_func)(struct pt_regs *);
+typedef void (*lcall7_func)(struct pt_regs *);

				Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008