The patch titled Protect <linux/console_struct.h> from multiple inclusion has been added to the -mm tree. Its filename is protect-linux-console_structh-from-multiple-inclusion.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Protect <linux/console_struct.h> from multiple inclusion From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> Prevent <linux/console_struct.h> from being included more than once, otherwise you get a redefinition error if you happen to include <linux/vt_kern.h> first. Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/console_struct.h | 5 +++++ 1 files changed, 5 insertions(+) diff -puN include/linux/console_struct.h~protect-linux-console_structh-from-multiple-inclusion include/linux/console_struct.h --- a/include/linux/console_struct.h~protect-linux-console_structh-from-multiple-inclusion +++ a/include/linux/console_struct.h @@ -9,6 +9,9 @@ * to achieve effects such as fast scrolling by changing the origin. */ +#ifndef _LINUX_CONSOLE_STRUCT_H +#define _LINUX_CONSOLE_STRUCT_H + #include <linux/wait.h> #include <linux/vt.h> #include <linux/workqueue.h> @@ -130,3 +133,5 @@ extern void vc_SAK(struct work_struct *w #define CUR_DEFAULT CUR_UNDERLINE #define CON_IS_VISIBLE(conp) (*conp->vc_display_fg == conp) + +#endif /* _LINUX_CONSOLE_STRUCT_H */ _ Patches currently in -mm which might be from rpjday@xxxxxxxxxxxxxx are origin.patch protect-linux-console_structh-from-multiple-inclusion.patch ppc-remove-dead-code-for-preventing-pread-and-pwrite-calls.patch viotape-use-designated-initializers-for-fops-member.patch git-dvb.patch git-ieee1394.patch input-delete-useless-reference-to-dead-module_parm-macro.patch git-kbuild.patch git-kvm.patch git-mmc.patch bluetooth-remove-the-redundant-non-seekable-llseek-method.patch pcmcia-delete-obsolete-pcmcia_ioctl-feature.patch git-s390.patch git-scsi-misc.patch remove-dead-references-to-module_parm-macro.patch git-watchdog.patch remove-the-deprecated-kmem_cache_t-typedef-from-slabh.patch cris-replace-old-style-member-inits-with-designated-inits.patch remove-unnecessary-includes-of-spinlockh-under-include-linux.patch drop-an-empty-isicomh-from-being-exported-to-user-space.patch cobalt-remove-all-traces-of-cobalt-from-nvramc.patch remove-apparently-useless-commented-apm_get_battery_status.patch drop-the-superfluous-test-for-an-old-version-of-gcc.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