The patch titled Add arch specific dev_sysdata to struct device has been removed from the -mm tree. Its filename was add-arch-specific-dev_sysdata-to-struct-device.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ Subject: Add arch specific dev_sysdata to struct device From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Adds an arch specific struct dev_sysdata to struct device. This enables architecture to add specific fields to every device in the system, like DMA operation pointers, NUMA node ID, firmware specific data, etc... Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/asm-alpha/device.h | 14 ++++++++++++++ include/asm-arm/device.h | 14 ++++++++++++++ include/asm-arm26/device.h | 14 ++++++++++++++ include/asm-avr32/device.h | 14 ++++++++++++++ include/asm-cris/device.h | 14 ++++++++++++++ include/asm-frv/device.h | 14 ++++++++++++++ include/asm-generic/device.h | 14 ++++++++++++++ include/asm-h8300/device.h | 14 ++++++++++++++ include/asm-i386/device.h | 14 ++++++++++++++ include/asm-ia64/device.h | 14 ++++++++++++++ include/asm-m32r/device.h | 14 ++++++++++++++ include/asm-m68k/device.h | 14 ++++++++++++++ include/asm-m68knommu/device.h | 14 ++++++++++++++ include/asm-mips/device.h | 14 ++++++++++++++ include/asm-parisc/device.h | 14 ++++++++++++++ include/asm-powerpc/device.h | 14 ++++++++++++++ include/asm-ppc/device.h | 14 ++++++++++++++ include/asm-s390/device.h | 14 ++++++++++++++ include/asm-sh/device.h | 14 ++++++++++++++ include/asm-sh64/device.h | 14 ++++++++++++++ include/asm-sparc/device.h | 14 ++++++++++++++ include/asm-sparc64/device.h | 14 ++++++++++++++ include/asm-um/device.h | 14 ++++++++++++++ include/asm-v850/device.h | 14 ++++++++++++++ include/asm-x86_64/device.h | 14 ++++++++++++++ include/asm-xtensa/device.h | 14 ++++++++++++++ include/linux/device.h | 3 +++ 27 files changed, 367 insertions(+) diff -puN /dev/null include/asm-alpha/device.h --- /dev/null +++ a/include/asm-alpha/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-arm/device.h --- /dev/null +++ a/include/asm-arm/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-arm26/device.h --- /dev/null +++ a/include/asm-arm26/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-avr32/device.h --- /dev/null +++ a/include/asm-avr32/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-cris/device.h --- /dev/null +++ a/include/asm-cris/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-frv/device.h --- /dev/null +++ a/include/asm-frv/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-generic/device.h --- /dev/null +++ a/include/asm-generic/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-h8300/device.h --- /dev/null +++ a/include/asm-h8300/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-i386/device.h --- /dev/null +++ a/include/asm-i386/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-ia64/device.h --- /dev/null +++ a/include/asm-ia64/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-m32r/device.h --- /dev/null +++ a/include/asm-m32r/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-m68k/device.h --- /dev/null +++ a/include/asm-m68k/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-m68knommu/device.h --- /dev/null +++ a/include/asm-m68knommu/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-mips/device.h --- /dev/null +++ a/include/asm-mips/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-parisc/device.h --- /dev/null +++ a/include/asm-parisc/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-powerpc/device.h --- /dev/null +++ a/include/asm-powerpc/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-ppc/device.h --- /dev/null +++ a/include/asm-ppc/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-s390/device.h --- /dev/null +++ a/include/asm-s390/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-sh/device.h --- /dev/null +++ a/include/asm-sh/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-sh64/device.h --- /dev/null +++ a/include/asm-sh64/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-sparc/device.h --- /dev/null +++ a/include/asm-sparc/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-sparc64/device.h --- /dev/null +++ a/include/asm-sparc64/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-um/device.h --- /dev/null +++ a/include/asm-um/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-v850/device.h --- /dev/null +++ a/include/asm-v850/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-x86_64/device.h --- /dev/null +++ a/include/asm-x86_64/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN /dev/null include/asm-xtensa/device.h --- /dev/null +++ a/include/asm-xtensa/device.h @@ -0,0 +1,14 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + * + * See Documentation/driver-model/ for more information. + */ +#ifndef _ASM_DEVICE_H +#define _ASM_DEVICE_H + +struct dev_sysdata { +}; + +#endif /* _ASM_DEVICE_H */ diff -puN include/linux/device.h~add-arch-specific-dev_sysdata-to-struct-device include/linux/device.h --- a/include/linux/device.h~add-arch-specific-dev_sysdata-to-struct-device +++ a/include/linux/device.h @@ -21,6 +21,7 @@ #include <linux/pm.h> #include <asm/semaphore.h> #include <asm/atomic.h> +#include <asm/device.h> #define DEVICE_NAME_SIZE 50 #define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */ @@ -358,6 +359,8 @@ struct device { struct dma_coherent_mem *dma_mem; /* internal for coherent mem override */ + /* arch specific additions */ + struct dev_sysdata sysdata; /* class_device migration path */ struct list_head node; _ Patches currently in -mm which might be from benh@xxxxxxxxxxxxxxxxxxx are macintosh-mangle-caps-lock-events-on-adb-keyboards.patch add-arch-specific-dev_sysdata-to-struct-device.patch change-acpi-to-use-dev_sysdata-instead-of-firmware_data.patch call-platform_notify_remove-later.patch git-powerpc.patch ppc-booke-reg-mcsr-msg-misquoted.patch ppc4xx-compilation-fixes-for-pci-less-configs.patch correct-keymapping-on-powerbook-built-in-usb-iso-keyboards.patch powerpc-add-of_platform-support-for-ohci-bigendian-hc.patch shared-page-table-for-hugetlb-page-v4.patch htlb-forget-rss-with-pt-sharing.patch correct-misc_register-return-code-handling-in-several-drivers.patch generic-bug-implementation.patch generic-bug-for-i386.patch generic-bug-for-x86-64.patch use-generic-bug-for-ppc.patch bug-test-1.patch log2-implement-a-general-integer-log2-facility-in-the-kernel.patch log2-implement-a-general-integer-log2-facility-in-the-kernel-ppc-fix.patch log2-alter-roundup_pow_of_two-so-that-it-can-use-a-ilog2-on-a-constant.patch log2-alter-get_order-so-that-it-can-make-use-of-ilog2-on-a-constant.patch log2-provide-ilog2-fallbacks-for-powerpc.patch add-missing-page_copy-export-for-ppc-and-powerpc.patch ioremap-balanced-with-iounmap-for-drivers-video-platinumfb.patch ioremap-balanced-with-iounmap-for-drivers-video-offb.patch ioremap-balanced-with-iounmap-for-drivers-video-macfb.patch ioremap-balanced-with-iounmap-for-drivers-video-atyfb_base.patch radeonfb-atom-bios-support-new-head-code-fixes.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