mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +00:00
linux/ia64: Fix regression after domain I/O support code removal.
Side effect of aa0bfb0f13:
| CCLD Xorg
| sdksyms.o:(.data.rel+0x27d8): undefined reference to `outl'
| collect2: ld returned 1 exit status
Since the linux/ia64 domain I/O support code got removed in that
commit, there's no reason to keep on declaring those functions
(inb, inl, inw, outb, outl, outw).
Bugzilla: https://bugs.freedesktop.org/43985
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
@@ -397,25 +397,6 @@ extern _X_EXPORT unsigned int inl(unsigned int port);
|
||||
#include <machine/pio.h>
|
||||
#endif /* __NetBSD__ */
|
||||
|
||||
# elif defined(linux) && defined(__ia64__)
|
||||
|
||||
# include <inttypes.h>
|
||||
|
||||
# include <sys/io.h>
|
||||
|
||||
# undef outb
|
||||
# undef outw
|
||||
# undef outl
|
||||
# undef inb
|
||||
# undef inw
|
||||
# undef inl
|
||||
extern _X_EXPORT void outb(unsigned long port, unsigned char val);
|
||||
extern _X_EXPORT void outw(unsigned long port, unsigned short val);
|
||||
extern _X_EXPORT void outl(unsigned long port, unsigned int val);
|
||||
extern _X_EXPORT unsigned int inb(unsigned long port);
|
||||
extern _X_EXPORT unsigned int inw(unsigned long port);
|
||||
extern _X_EXPORT unsigned int inl(unsigned long port);
|
||||
|
||||
# elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__)
|
||||
|
||||
# include <inttypes.h>
|
||||
|
||||
Reference in New Issue
Block a user