Re: Problem with personality.h

Mike Jagdis (mike@toaster.roan.co.uk)
Fri, 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        |
`----------------------------------------------------------------------'