From: Josh Triplett Date: Mon, 7 Apr 2014 22:39:07 +0000 (-0700) Subject: ia64: select CONFIG_TTY for use of tty_write_message in unaligned X-Git-Tag: submit/tizen/20160607.132125~4796^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6035d9db386bf30151ed16a94c9223bbe52562ee;p=sdk%2Femulator%2Femulator-kernel.git 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. Signed-off-by: Josh Triplett Cc: Stephen Rothwell Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 0c8e553..1325c3b 100644 --- a/arch/ia64/Kconfig +++ b/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