lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv5] tty: Added a CONFIG_TTY option to allow removal of TTY
On Wed, Jan 30, 2013 at 05:15:19PM -0800, Joe Millenbach wrote:
> The option allows you to remove TTY and compile without errors. This
> saves space on systems that won't support TTY interfaces anyway.
> bloat-o-meter output is below.
>
> The bulk of this patch consists of Kconfig changes adding "depends on
> TTY" to various serial devices and similar drivers that require the TTY
> layer. Ideally, these dependencies would occur on a common intermediate
> symbol, but many drivers select rather than depend on features, and
> "select" does not respect dependencies.
>
> bloat-o-meter output filtered to not show removed entries to save space
>
> $ scripts/bloat-o-meter min min-no-tty | awk '$3 != "-"'
> add/remove: 0/225 grow/shrink: 2/12 up/down: 8/-29628 (-29620)
> function old new delta
> chr_dev_init 138 145 +7
> linux_banner 123 124 +1
> static.__warned 132 131 -1
> unregister_console 106 101 -5
> start_kernel 467 462 -5
> register_console 545 540 -5
> copy_from_user 40 35 -5
> sys_setsid 105 98 -7
> sys_vhangup 27 15 -12
> do_exit 1363 1346 -17
> arch_local_irq_save 136 116 -20
> bitmap_zero 44 22 -22
> release_task 587 562 -25
> static.spin_unlock_irqrestore 223 187 -36
>
> Signed-off-by: Joe Millenbach <jmillenbach@gmail.com>
> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
> Reviewed-by: Jamey Sharp <jamey@minilop.net>
> ---
> v5: Rebasing to 3.8 rc5 and minimized driver/input changes based on input
> from Dmitry Torokhov.

This isn't going to work because I've already applied this to my tree.
Can you just make a tiny patch against the tty-next git tree to fix up
the differences here for the Input drivers and I can apply that?

thanks,

greg k-h


\
 
 \ /
  Last update: 2013-01-31 07:01    [W:0.061 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site