1
2
3
4
5#ifndef S390_GEN_FACILITIES_C
6#error "This file can only be included by gen_facilities.c"
7#endif
8
9#include <linux/kconfig.h>
10
11struct facility_def {
12 char *name;
13 int *bits;
14};
15
16static struct facility_def facility_defs[] = {
17 {
18
19
20
21
22
23 .name = "FACILITIES_ALS",
24 .bits = (int[]){
25#ifdef CONFIG_HAVE_MARCH_Z900_FEATURES
26 0,
27 1,
28#endif
29#ifdef CONFIG_HAVE_MARCH_Z990_FEATURES
30 18,
31#endif
32#ifdef CONFIG_HAVE_MARCH_Z9_109_FEATURES
33 7,
34 17,
35 21,
36 25,
37#endif
38#ifdef CONFIG_HAVE_MARCH_Z10_FEATURES
39 27,
40 32,
41 33,
42 34,
43 35,
44#endif
45#ifdef CONFIG_HAVE_MARCH_Z196_FEATURES
46 45,
47#endif
48#ifdef CONFIG_HAVE_MARCH_ZEC12_FEATURES
49 49,
50 52,
51#endif
52#ifdef CONFIG_HAVE_MARCH_Z13_FEATURES
53 53,
54#endif
55 -1
56 }
57 },
58};
59