From: Heiko Carstens Date: Wed, 29 Jun 2016 22:48:42 +0000 (+0200) Subject: s390/facilities: do not generate DWORDS define anymore X-Git-Tag: v5.15~13123^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbd6534ce07fa66da6585f9b536504c422527c8c;p=platform%2Fkernel%2Flinux-starfive.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 Reviewed-by: Sascha Silbe Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index e2660d2..fe4e6c9 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); }