lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Problem with personality.h
Date
>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 13:38    [W:0.027 / U:2.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site