[PATCH] Fix implicit declaration of inb/outb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Jamey Sharp [2008-06-02 18:43]:
>
> Oh, dear--that doesn't work.

Thanks for catching that issue. But it also means that it *didn't* work
on x86-64 because inb() needed to call a function (I don't think that
the compiler did inline something when it even didn't know the
prototype).

My next patch should address that issue by just using the same header
file for i386 and x86-64. No need for code duplication here. And I
think we should use __always_inline__ in that case (yes, it's GNU only
but I think we can afford that for kexec-tools) to make sure that the
inlining takes also place for -O0.'


Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Maintenance



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux