Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 227903 | Differences between
and this patch

Collapse All | Expand All

(-)tux.c.orig (-10 / +7 lines)
Lines 12-17 Link Here
12
#include <sys/types.h>
12
#include <sys/types.h>
13
#include <sys/stat.h>
13
#include <sys/stat.h>
14
#include <sys/time.h>
14
#include <sys/time.h>
15
#include <sys/syscall.h>
15
#include <regex.h>
16
#include <regex.h>
16
#include <fcntl.h>
17
#include <fcntl.h>
17
#include <time.h>
18
#include <time.h>
Lines 26-39 Link Here
26
27
27
#if defined(__ia64__)
28
#if defined(__ia64__)
28
#define __NR_tux 1120
29
#define __NR_tux 1120
29
inline int tux(unsigned int action, user_req_t *req)
30
#elif defined(__powerpc__)
30
{
31
   return syscall(__NR_tux,action,req);
32
}
33
34
#else
35
36
#if defined(__powerpc__)
37
#define __NR_tux 225
31
#define __NR_tux 225
38
#elif defined(__x86_64__)
32
#elif defined(__x86_64__)
39
#define __NR_tux 184
33
#define __NR_tux 184
Lines 48-55 Link Here
48
#define __NR_tux 222
42
#define __NR_tux 222
49
#endif
43
#endif
50
44
51
_syscall2 (int, tux, unsigned int, action, user_req_t *, req)
45
inline int tux(unsigned int action, user_req_t *req)
52
#endif
46
{
47
   return syscall(__NR_tux,action,req);
48
}
49
53
50
54
51
55
char *TUXAPI_version;
52
char *TUXAPI_version;

Return to bug 227903