Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

isystem: trim/fixup stdarg.h and other headers

Delete/fixup few includes in anticipation of global -isystem compile
option removal.

Note: crypto/aegis128-neon-inner.c keeps <stddef.h> due to redefinition
of uintptr_t error (one definition comes from <stddef.h>, another from
<linux/types.h>).

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Alexey Dobriyan and committed by
Masahiro Yamada
39f75da7 f12b034a

+4 -43
-2
arch/arm/kernel/process.c
··· 5 5 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 6 6 * Original Copyright (C) 1995 Linus Torvalds 7 7 */ 8 - #include <stdarg.h> 9 - 10 8 #include <linux/export.h> 11 9 #include <linux/sched.h> 12 10 #include <linux/sched/debug.h>
-2
arch/arm/mach-bcm/bcm_kona_smc.c
··· 10 10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * GNU General Public License for more details. 12 12 */ 13 - 14 - #include <stdarg.h> 15 13 #include <linux/smp.h> 16 14 #include <linux/io.h> 17 15 #include <linux/ioport.h>
-3
arch/arm64/kernel/process.c
··· 6 6 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 7 7 * Copyright (C) 2012 ARM Ltd. 8 8 */ 9 - 10 - #include <stdarg.h> 11 - 12 9 #include <linux/compat.h> 13 10 #include <linux/efi.h> 14 11 #include <linux/elf.h>
-2
arch/openrisc/kernel/process.c
··· 14 14 */ 15 15 16 16 #define __KERNEL_SYSCALLS__ 17 - #include <stdarg.h> 18 - 19 17 #include <linux/errno.h> 20 18 #include <linux/sched.h> 21 19 #include <linux/sched/debug.h>
-3
arch/parisc/kernel/process.c
··· 17 17 * Copyright (C) 2001-2014 Helge Deller <deller@gmx.de> 18 18 * Copyright (C) 2002 Randolph Chung <tausq with parisc-linux.org> 19 19 */ 20 - 21 - #include <stdarg.h> 22 - 23 20 #include <linux/elf.h> 24 21 #include <linux/errno.h> 25 22 #include <linux/kernel.h>
-1
arch/powerpc/kernel/prom.c
··· 11 11 12 12 #undef DEBUG 13 13 14 - #include <stdarg.h> 15 14 #include <linux/kernel.h> 16 15 #include <linux/string.h> 17 16 #include <linux/init.h>
-3
arch/sparc/kernel/process_32.c
··· 8 8 /* 9 9 * This file handles the architecture-dependent parts of process handling.. 10 10 */ 11 - 12 - #include <stdarg.h> 13 - 14 11 #include <linux/elfcore.h> 15 12 #include <linux/errno.h> 16 13 #include <linux/module.h>
-3
arch/sparc/kernel/process_64.c
··· 9 9 /* 10 10 * This file handles the architecture-dependent parts of process handling.. 11 11 */ 12 - 13 - #include <stdarg.h> 14 - 15 12 #include <linux/errno.h> 16 13 #include <linux/export.h> 17 14 #include <linux/sched.h>
+1
arch/um/drivers/rtc_user.c
··· 3 3 * Copyright (C) 2020 Intel Corporation 4 4 * Author: Johannes Berg <johannes@sipsolutions.net> 5 5 */ 6 + #include <stdbool.h> 6 7 #include <os.h> 7 8 #include <errno.h> 8 9 #include <sched.h>
+1
arch/um/drivers/vector_user.c
··· 3 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 4 */ 5 5 6 + #include <stdbool.h> 6 7 #include <stdio.h> 7 8 #include <unistd.h> 8 9 #include <stdarg.h>
-1
arch/um/include/shared/irq_user.h
··· 7 7 #define __IRQ_USER_H__ 8 8 9 9 #include <sysdep/ptrace.h> 10 - #include <stdbool.h> 11 10 12 11 enum um_irq_type { 13 12 IRQ_READ,
-1
arch/um/include/shared/os.h
··· 8 8 #ifndef __OS_H__ 9 9 #define __OS_H__ 10 10 11 - #include <stdarg.h> 12 11 #include <irq_user.h> 13 12 #include <longjmp.h> 14 13 #include <mm_id.h>
+1 -1
arch/um/os-Linux/signal.c
··· 67 67 #ifdef UML_CONFIG_UML_TIME_TRAVEL_SUPPORT 68 68 static int signals_blocked; 69 69 #else 70 - #define signals_blocked false 70 + #define signals_blocked 0 71 71 #endif 72 72 static unsigned int signals_pending; 73 73 static unsigned int signals_active = 0;
+1
arch/um/os-Linux/util.c
··· 3 3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 4 */ 5 5 6 + #include <stdarg.h> 6 7 #include <stdio.h> 7 8 #include <stdlib.h> 8 9 #include <unistd.h>
-1
drivers/block/xen-blkback/xenbus.c
··· 8 8 9 9 #define pr_fmt(fmt) "xen-blkback: " fmt 10 10 11 - #include <stdarg.h> 12 11 #include <linux/module.h> 13 12 #include <linux/kthread.h> 14 13 #include <xen/events.h>
-1
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
··· 39 39 #include <linux/types.h> 40 40 #include <linux/string.h> 41 41 #include <linux/delay.h> 42 - #include <stdarg.h> 43 42 44 43 #include "atomfirmware.h" 45 44
-1
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h
··· 25 25 #include <linux/pm_runtime.h> 26 26 #include <linux/kthread.h> 27 27 #include <linux/devcoredump.h> 28 - #include <stdarg.h> 29 28 #include "msm_kms.h" 30 29 31 30 #define MSM_DISP_SNAPSHOT_MAX_BLKS 10
-1
drivers/macintosh/macio-adb.c
··· 2 2 /* 3 3 * Driver for the ADB controller in the Mac I/O (Hydra) chip. 4 4 */ 5 - #include <stdarg.h> 6 5 #include <linux/types.h> 7 6 #include <linux/errno.h> 8 7 #include <linux/kernel.h>
-2
drivers/macintosh/via-macii.c
··· 23 23 * Apple's "ADB Analyzer" bus sniffer is invaluable: 24 24 * ftp://ftp.apple.com/developer/Tool_Chest/Devices_-_Hardware/Apple_Desktop_Bus/ 25 25 */ 26 - 27 - #include <stdarg.h> 28 26 #include <linux/types.h> 29 27 #include <linux/errno.h> 30 28 #include <linux/kernel.h>
-1
drivers/net/wireless/intersil/orinoco/hermes.c
··· 79 79 80 80 #undef HERMES_DEBUG 81 81 #ifdef HERMES_DEBUG 82 - #include <stdarg.h> 83 82 84 83 #define DEBUG(lvl, stuff...) if ((lvl) <= HERMES_DEBUG) DMSG(stuff) 85 84
-1
drivers/net/wwan/iosm/iosm_ipc_imem.h
··· 7 7 #define IOSM_IPC_IMEM_H 8 8 9 9 #include <linux/skbuff.h> 10 - #include <stdbool.h> 11 10 12 11 #include "iosm_ipc_mmio.h" 13 12 #include "iosm_ipc_pcie.h"
-1
drivers/pinctrl/aspeed/pinmux-aspeed.h
··· 5 5 #define ASPEED_PINMUX_H 6 6 7 7 #include <linux/regmap.h> 8 - #include <stdbool.h> 9 8 10 9 /* 11 10 * The ASPEED SoCs provide typically more than 200 pins for GPIO and other
-1
drivers/scsi/elx/efct/efct_driver.h
··· 10 10 /*************************************************************************** 11 11 * OS specific includes 12 12 */ 13 - #include <stdarg.h> 14 13 #include <linux/module.h> 15 14 #include <linux/debugfs.h> 16 15 #include <linux/firmware.h>
-2
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/isp_local.h
··· 16 16 #ifndef __ISP_LOCAL_H_INCLUDED__ 17 17 #define __ISP_LOCAL_H_INCLUDED__ 18 18 19 - #include <stdbool.h> 20 - 21 19 #include "isp_global.h" 22 20 23 21 #include <isp2400_support.h>
-2
drivers/xen/xen-scsiback.c
··· 33 33 34 34 #define pr_fmt(fmt) "xen-pvscsi: " fmt 35 35 36 - #include <stdarg.h> 37 - 38 36 #include <linux/module.h> 39 37 #include <linux/utsname.h> 40 38 #include <linux/interrupt.h>
-2
include/linux/filter.h
··· 5 5 #ifndef __LINUX_FILTER_H__ 6 6 #define __LINUX_FILTER_H__ 7 7 8 - #include <stdarg.h> 9 - 10 8 #include <linux/atomic.h> 11 9 #include <linux/refcount.h> 12 10 #include <linux/compat.h>
-1
include/linux/mISDNif.h
··· 18 18 #ifndef mISDNIF_H 19 19 #define mISDNIF_H 20 20 21 - #include <stdarg.h> 22 21 #include <linux/types.h> 23 22 #include <linux/errno.h> 24 23 #include <linux/socket.h>
-1
kernel/debug/kdb/kdb_support.c
··· 10 10 * 03/02/13 added new 2.5 kallsyms <xavier.bru@bull.net> 11 11 */ 12 12 13 - #include <stdarg.h> 14 13 #include <linux/types.h> 15 14 #include <linux/sched.h> 16 15 #include <linux/mm.h>
-1
sound/aoa/codecs/onyx.h
··· 6 6 */ 7 7 #ifndef __SND_AOA_CODEC_ONYX_H 8 8 #define __SND_AOA_CODEC_ONYX_H 9 - #include <stddef.h> 10 9 #include <linux/i2c.h> 11 10 #include <asm/pmac_low_i2c.h> 12 11 #include <asm/prom.h>
-1
sound/aoa/codecs/tas.c
··· 58 58 * and up to the hardware designer to not wire 59 59 * them up in some weird unusable way. 60 60 */ 61 - #include <stddef.h> 62 61 #include <linux/i2c.h> 63 62 #include <asm/pmac_low_i2c.h> 64 63 #include <asm/prom.h>
-1
sound/core/info.c
··· 16 16 #include <linux/utsname.h> 17 17 #include <linux/proc_fs.h> 18 18 #include <linux/mutex.h> 19 - #include <stdarg.h> 20 19 21 20 int snd_info_check_reserved_words(const char *str) 22 21 {