static int arch = arch_alpha;
-#define BITS_PER_LONG (64)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 442
#define __NR_ioprio_get 443
static int arch = arch_ia64;
-#define BITS_PER_LONG (64)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 1274
#define __NR_ioprio_get 1275
static int arch = arch_ppc;
-#define BITS_PER_LONG (32)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 273
#define __NR_ioprio_get 274
static int arch = arch_s390;
-#define BITS_PER_LONG (64)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 282
#define __NR_ioprio_get 283
static int arch = arch_i386;
-#define BITS_PER_LONG (32)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 289
#define __NR_ioprio_get 290
static int arch = arch_x86_64;
-#define BITS_PER_LONG (64)
-
#ifndef __NR_ioprio_set
#define __NR_ioprio_set 251
#define __NR_ioprio_get 252
#error "Unsupported arch"
#endif
+#define BITS_PER_LONG (__WORDSIZE)
+
#endif