* mem_in? and mem_out? functions
@ 2005-10-15 8:33 Shuveb Hussain
2006-02-19 19:53 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Shuveb Hussain @ 2005-10-15 8:33 UTC (permalink / raw)
To: linux-mips
Hi,
I am compiling the source from git. There are definitions of macros in
include/asm/io.h for the following:
mem_inb
mem_outb
mem_inl
mem_outl
...
...
The issue is that the driver :
drivers/char/ipmi/ - have redeclared these macros as functions
statically, in the file - ipmi_si_intf.c
I do not know if this driver is used on MIPS at all, but it does get
into the way of proper compilation. If compilation of the IPMI driver
in any form is disabled (by default it gets compiled as a module),
then the compilation goes on smoothly.
I changed the names of these functions slightly and made other
modifications as to compile properly and now everything is OK, but I
do not know if this is the best way to do it, though it works for me
now.
What is the best solution for this issue?
--shuveb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mem_in? and mem_out? functions
2005-10-15 8:33 mem_in? and mem_out? functions Shuveb Hussain
@ 2006-02-19 19:53 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2006-02-19 19:53 UTC (permalink / raw)
To: Shuveb Hussain; +Cc: linux-mips
On Sat, Oct 15, 2005 at 02:03:13PM +0530, Shuveb Hussain wrote:
> Hi,
> I am compiling the source from git. There are definitions of macros in
> include/asm/io.h for the following:
>
> mem_inb
> mem_outb
> mem_inl
> mem_outl
> ...
> ...
>
> The issue is that the driver :
> drivers/char/ipmi/ - have redeclared these macros as functions
> statically, in the file - ipmi_si_intf.c
>
> I do not know if this driver is used on MIPS at all, but it does get
> into the way of proper compilation. If compilation of the IPMI driver
> in any form is disabled (by default it gets compiled as a module),
> then the compilation goes on smoothly.
>
> I changed the names of these functions slightly and made other
> modifications as to compile properly and now everything is OK, but I
> do not know if this is the best way to do it, though it works for me
> now.
>
> What is the best solution for this issue?
This has now been fixed by commit 290f10ae4230ef06b71e57673101b7e70c1b29a6.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-20 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-15 8:33 mem_in? and mem_out? functions Shuveb Hussain
2006-02-19 19:53 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.