fix breakage from introducing bits header for sys/io.h
apparently some other archs have sys/io.h and should not break just because they don't have the x86 port io functions. provide a blank bits/io.h everywhere for now.
This commit is contained in:
1 parent
61aa6324af
commit
0004ea613a
7 files changed
+3
-6
No files matched your search
Whitespace-only changes.
@@ -1,6 +1,3 @@
|
||||
int iopl(int);
|
||||
int ioperm(unsigned long, unsigned long, int);
|
||||
|
||||
static __inline void outb(unsigned char __val, unsigned short __port)
|
||||
{
|
||||
__asm__ volatile ("outb %0,%1" : : "a" (__val), "dN" (__port));
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -1,6 +1,3 @@
|
||||
int iopl(int);
|
||||
int ioperm(unsigned long, unsigned long, int);
|
||||
|
||||
static __inline void outb(unsigned char __val, unsigned short __port)
|
||||
{
|
||||
__asm__ volatile ("outb %0,%1" : : "a" (__val), "dN" (__port));
|
||||
|
||||
@@ -8,6 +8,9 @@ extern "C" {
|
||||
|
||||
#include <bits/io.h>
|
||||
|
||||
int iopl(int);
|
||||
int ioperm(unsigned long, unsigned long, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user