diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2021-08-02 22:40:32 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-08-19 02:02:55 +0200 |
commit | c0891ac15f0428ffa81b2e818d416bdf3cb74ab6 (patch) | |
tree | 833890b141b8e53fdd20d2c9f96b7216dad224b4 /arch/s390/boot | |
parent | isystem: trim/fixup stdarg.h and other headers (diff) | |
download | linux-c0891ac15f0428ffa81b2e818d416bdf3cb74ab6.tar.xz linux-c0891ac15f0428ffa81b2e818d416bdf3cb74ab6.zip |
isystem: ship and use stdarg.h
Ship minimal stdarg.h (1 type, 4 macros) as <linux/stdarg.h>.
stdarg.h is the only userspace header commonly used in the kernel.
GPL 2 version of <stdarg.h> can be extracted from
http://archive.debian.org/debian/pool/main/g/gcc-4.2/gcc-4.2_4.2.4.orig.tar.gz
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r-- | arch/s390/boot/pgm_check_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/pgm_check_info.c b/arch/s390/boot/pgm_check_info.c index 3a46abed2549..b7d8dd88bbf2 100644 --- a/arch/s390/boot/pgm_check_info.c +++ b/arch/s390/boot/pgm_check_info.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> +#include <linux/stdarg.h> #include <linux/string.h> #include <linux/ctype.h> #include <asm/stacktrace.h> @@ -8,7 +9,6 @@ #include <asm/setup.h> #include <asm/sclp.h> #include <asm/uv.h> -#include <stdarg.h> #include "boot.h" const char hex_asc[] = "0123456789abcdef"; |