summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2005-09-06 11:55:00 +1000
committerPaul Mackerras <paulus@samba.org>2005-09-06 16:07:36 +1000
commitcb14c4d641b4e083fae7ce4a0e8a3973cecb7554 (patch)
tree68f5365c31beb472c5c4df25fbcb3422cb7d76eb /arch/um/drivers
parent5fdabaab01ee8928597aae8a0178a3a4f7b66365 (diff)
downloadop-kernel-dev-cb14c4d641b4e083fae7ce4a0e8a3973cecb7554.zip
op-kernel-dev-cb14c4d641b4e083fae7ce4a0e8a3973cecb7554.tar.gz
[PATCH] ppc64: Clean up CR handling
Make the 16550 and real mode 16550 use tail recursion like the scc code instead of repeating the routine except for the character sent. Gcc recoginizes the tail recursion and handles it efficently without stack allocations. The maple real putc shrinks from 188 to 104 bytes of instructions. udbg_putc drops from 188 to 140 bytes. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/um/drivers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud