diff options
| author | Hendrik Brueckner <[email protected]> | 2009-08-27 01:45:39 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2009-09-24 05:12:47 +0000 |
| commit | 254be490f257fc3f76ca5f869ac8d107b3827025 (patch) | |
| tree | 8ef8b4540f54600e3f5cb0f82b7922b53b467278 /arch/powerpc/sysdev/dart_iommu.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus (diff) | |
| download | kernel-254be490f257fc3f76ca5f869ac8d107b3827025.tar.gz kernel-254be490f257fc3f76ca5f869ac8d107b3827025.zip | |
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 <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
