Attempt to build allmodconfig (for ARM platforms) using bare-metal toolchain fails with errors related to __linux__ definition. It's only defined on Linux toolchains, but not defined on bare-metal toolchains. This patch series fixes that. Some similar patches (for different files) were applied previously: - commit 4c82456eeb4d ("fuse: fix type definitions in uapi header") - commit b6330548383c ("drm.h: Fix DRM compilation with bare-metal toolchain.") Sam Protsenko (2): codafs: Fix build using bare-metal toolchain scsi: aic7xxx: Fix build using bare-metal toolchain drivers/scsi/aic7xxx/aic7770.c | 6 --- drivers/scsi/aic7xxx/aic79xx.h | 6 --- drivers/scsi/aic7xxx/aic79xx_core.c | 43 ------------------- drivers/scsi/aic7xxx/aic79xx_pci.c | 6 --- drivers/scsi/aic7xxx/aic7xxx.h | 6 --- drivers/scsi/aic7xxx/aic7xxx_93cx6.c | 6 --- drivers/scsi/aic7xxx/aic7xxx_core.c | 40 +---------------- drivers/scsi/aic7xxx/aic7xxx_pci.c | 7 --- drivers/scsi/aic7xxx/aicasm/aicasm.h | 4 -- drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | 4 -- .../scsi/aic7xxx/aicasm/aicasm_macro_gram.y | 4 -- .../scsi/aic7xxx/aicasm/aicasm_macro_scan.l | 4 -- drivers/scsi/aic7xxx/aicasm/aicasm_scan.l | 4 -- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c | 4 -- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h | 4 -- include/linux/coda.h | 3 +- 16 files changed, 2 insertions(+), 149 deletions(-) -- 2.18.0