4#define LINUX_VERSION(a,b,c) ( ((a&0xff)<<24) | ((b&0xff)<<16) | ((c&0xff) << 8))
7 typeof(x) _min1 = (x); \
8 typeof(y) _min2 = (y); \
9 (void) (&_min1 == &_min2); \
10 _min1 < _min2 ? _min1 : _min2; })
19 return syscall( SYS_gettid );
20#elif defined(__NR_gettid)
21 return syscall( __NR_gettid );
23#error "cannot find gettid"
29 #define F_SETOWN_EX 15
30 #define F_GETOWN_EX 16
34 #define F_OWNER_PGRP 2
47#define _papi_getcpu() sched_getcpu()
50#define _papi_getcpu() 0
int _linux_detect_nmi_watchdog()
static pid_t mygettid(void)