From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Wed, 29 Jun 2016 22:48:42 +0000 (+0200)
Subject: s390/facilities: do not generate DWORDS define anymore
X-Git-Tag: v4.8-rc1~61^2~5
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fbd6534ce07fa66da6585f9b536504c422527c8c;p=users%2Fjedix%2Flinux-maple.git

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>
---

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);
 }