The patch titled Fix 'make headers_check' on s390 has been removed from the -mm tree. Its filename is fix-make-headers_check-on-s390-for-2618.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Fix 'make headers_check' on s390 From: David Woodhouse <dwmw2@xxxxxxxxxxxxx> On Tue, 2006-09-12 at 17:44 +0100, David Woodhouse wrote: > asm-s390/debug.h requires linux/string.h, which does not exist > asm-s390/elf.h requires asm/system.h, which does not exist Move things around slightly so the right things end up within #ifdef __KERNEL__ and thus don't pollute the exported headers. Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Acked-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/asm-s390/debug.h | 2 +- include/asm-s390/elf.h | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff -puN include/asm-s390/debug.h~fix-make-headers_check-on-s390-for-2618 include/asm-s390/debug.h --- a/include/asm-s390/debug.h~fix-make-headers_check-on-s390-for-2618 +++ a/include/asm-s390/debug.h @@ -10,7 +10,6 @@ #define DEBUG_H #include <linux/fs.h> -#include <linux/string.h> /* Note: * struct __debug_entry must be defined outside of #ifdef __KERNEL__ @@ -35,6 +34,7 @@ struct __debug_entry{ #define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */ #ifdef __KERNEL__ +#include <linux/string.h> #include <linux/spinlock.h> #include <linux/kernel.h> #include <linux/time.h> diff -puN include/asm-s390/elf.h~fix-make-headers_check-on-s390-for-2618 include/asm-s390/elf.h --- a/include/asm-s390/elf.h~fix-make-headers_check-on-s390-for-2618 +++ a/include/asm-s390/elf.h @@ -93,19 +93,6 @@ #define R_390_NUM 61 /* - * ELF register definitions.. - */ - -#include <linux/sched.h> /* for task_struct */ -#include <asm/ptrace.h> -#include <asm/user.h> -#include <asm/system.h> /* for save_access_regs */ - - -typedef s390_fp_regs elf_fpregset_t; -typedef s390_regs elf_gregset_t; - -/* * These are used to set parameters in the core dumps. */ #ifndef __s390x__ @@ -117,6 +104,20 @@ typedef s390_regs elf_gregset_t; #define ELF_ARCH EM_S390 /* + * ELF register definitions.. + */ + +#include <asm/ptrace.h> +#include <asm/user.h> + +typedef s390_fp_regs elf_fpregset_t; +typedef s390_regs elf_gregset_t; + +#ifdef __KERNEL__ +#include <linux/sched.h> /* for task_struct */ +#include <asm/system.h> /* for save_access_regs */ + +/* * This is used to ensure we don't load something for the wrong architecture. */ #define elf_check_arch(x) \ @@ -198,7 +199,6 @@ static inline int dump_task_fpu(struct t #define ELF_PLATFORM (NULL) -#ifdef __KERNEL__ #ifndef __s390x__ #define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX) #else /* __s390x__ */ _ Patches currently in -mm which might be from dwmw2@xxxxxxxxxxxxx are origin.patch add-headers_check-target-to-output-of-make-help.patch fix-make-headers_check-on-m68k.patch headers_check-clean-up-asm-parisc-pageh-for-user-headers.patch git-gfs2.patch git-mtd.patch mtd-maps-ixp4xx-partition-parsing.patch fix-the-unlock-addr-lookup-bug-in-mtd-jedec-probe.patch mtd-printk-format-warning.patch fs-jffs2-jffs2_fs_ih-removal-of-old-code.patch drivers-mtd-nand-au1550ndc-removal-of-old-code.patch git-parisc.patch pci-quirks-update.patch avr32-mtd-static-memory-controller-driver-try-2.patch avr32-mtd-unlock-flash-if-necessary-try-2.patch avr32-mtd-at49bv6416-platform-device-for-atstk1000.patch avr32-mtd-unlock-flash-if-necessary.patch split-i386-and-x86_64-ptraceh.patch split-i386-and-x86_64-ptraceh-fix.patch make-uml-use-ptrace-abih.patch fs-conversions-from-kmallocmemset-to-kzcalloc.patch add-config_headers_check-option-to-automatically-run-make-headers_check.patch pci-mtd-switch-to-pci_get_device-and-do-ref-counting.patch the-scheduled-removal-of-some-oss-drivers-fix-fix.patch debug-shared-irqs.patch debug-shared-irqs-kconfig-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html