From: Hendrik Brueckner Date: Thu, 27 Aug 2009 01:45:39 +0000 (+0000) Subject: hvc_console: Provide (un)locked version for hvc_resize() X-Git-Tag: v2.6.32-rc1~29^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=254be490f257fc3f76ca5f869ac8d107b3827025;p=pandora-kernel.git hvc_console: Provide (un)locked version for hvc_resize() Rename the locking free hvc_resize() function to __hvc_resize() and provide an inline function that locks the hvc_struct and calls __hvc_resize(). The rationale for this patch is that virtio_console calls the hvc_resize() function without locking the hvc_struct. So it needs to call the lock itself. According to naming rules, the unlocked version is renamed and prefixed with "__". References to unlocked function calls in hvc back-ends has been updated. Signed-off-by: Hendrik Brueckner Acked-by: Christian Borntraeger Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed