-
Andrew Morton authored
From: Jeremy Kerr <jk@ozlabs.org> This patch fixes the sleep in spinlock hvc bug in hvc_write(). The code is a little longer, but protects against large amounts of memory being kmalloc()ed by userspace, and minimises calls to copy_from_user().
c7e74ca2