| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | conflicting declaration of prom_getcmdline() |
| From: | Ulrich Eckhardt <eckhardt@satorlaser.com> |
| Date: | Fri, 1 Apr 2005 10:28:04 +0200 |
| Organization: | Sator Laser GmbH |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.7.1 |
Greetings! I just stumbled over arch/mips/au1000/common/prom.c, which contains a function defined like this: char* prom_getcmdline(void); EXPORT_SYMBOL(prom_getcmdline); while there are implementations that define the function as char* __init prom_getcmdline(); Further, there are several declarations throughout sourcefiles and in include/asm-mips/mips-boards/prom.h and include/asm-mips/sgialib.h. Just grep for it and you'll see the mess. If anyone tells me which one is right and cares to explain why I hereby volunteer to create a patch. ;) Apart from that, some code in arch/mips/au1000/common/prom.c is unnecessarily complicated. cheers Uli |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How to keep uptodate a mips-linux port, moreau francis |
|---|---|
| Next by Date: | Re: How to keep uptodate a mips-linux port, Jan-Benedict Glaw |
| Previous by Thread: | How to keep uptodate a mips-linux port, moreau francis |
| Next by Thread: | Re: conflicting declaration of prom_getcmdline(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |