aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/tools/gen_facilities.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-06-30 00:48:42 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-07-31 05:27:59 -0400
commitfbd6534ce07fa66da6585f9b536504c422527c8c (patch)
treebabaf3ccffbfff1f06a7a726c3f48364300833e4 /arch/s390/tools/gen_facilities.c
parents390/als: print missing facilities on facility mismatch (diff)
downloadlinux-dev-fbd6534ce07fa66da6585f9b536504c422527c8c.tar.xz
linux-dev-fbd6534ce07fa66da6585f9b536504c422527c8c.zip
s390/facilities: do not generate DWORDS define anymore
The architecture level set code has been converted to C and doesn't need a define to figure out array sizes. Since the old code was the only user of the DWORDS define, we can get rid of it again. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/tools/gen_facilities.c')
-rw-r--r--arch/s390/tools/gen_facilities.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c
index e2660d27889b..fe4e6c910dd7 100644
--- a/arch/s390/tools/gen_facilities.c
+++ b/arch/s390/tools/gen_facilities.c
@@ -39,7 +39,6 @@ static void print_facility_list(struct facility_def *def)
printf("#define %s ", def->name);
for (i = 0; i <= high; i++)
printf("_AC(0x%016llx,UL)%c", array[i], i < high ? ',' : '\n');
- printf("#define %s_DWORDS %d\n", def->name, high + 1);
free(array);
}