Skip to contentSkip to conversation

ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 8, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [merged] ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:32:49 -0700

The patch titled
Subject: ia64: select CONFIG_TTY for use of tty_write_message in unaligned
has been removed from the -mm tree. Its filename was
ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Josh Triplett <[email protected]>
Subject: ia64: select CONFIG_TTY for use of tty_write_message in unaligned

Fix breakage which will be exposed by the patch "kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT".

arch/ia64/kernel/unaligned.c uses tty_write_message to print an unaligned access exception to the TTY of the current user process. Enable TTY to prevent a build error.

Minimal fix, on the basis that few people on ia64 will care deeply about kernel size enough to turn off TTY. Ideally, I'd instead suggest dropping the tty_write_message entirely, and just leaving the printk.
Bonus: no need to sprintf first.

---

 arch/ia64/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned +1 -0
diff -puN arch/ia64/Kconfig~ia64-select-config_tty-for-use-of-tty_write_message-in-unaligned arch/ia64/Kconfig
@@ -21,6 +21,7 @@ config IA64
 	select HAVE_FUNCTION_TRACER
 	select HAVE_DMA_ATTRS
 	select HAVE_KVM
+	select TTY
 	select HAVE_ARCH_TRACEHOOK
 	select HAVE_DMA_API_DEBUG
 	select HAVE_MEMBLOCK

_

Patches currently in -mm which might be from [email protected] are

origin.patch