diff options
author | Alan Cox <alan@linux.intel.com> | 2013-02-07 12:25:37 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-02-07 12:25:37 +1100 |
commit | 2165045784445c90c44482d84f597ae77b8022bf (patch) | |
tree | 56f28cc696626c91040e6ee52dc8036e9ed6b690 /include/linux/balloon_compaction.h | |
parent | a3affe4e687d978a5c1b001bc309f2e14fc88bc2 (diff) |
fb: rework locking to fix lock ordering on takeover
Adjust the console layer to allow a take over call where the caller
already holds the locks. Make the fb layer lock in order.
This is partly a band aid, the fb layer is terminally confused about the
locking rules it uses for its notifiers it seems.
[akpm@linux-foundation.org: remove stray non-ascii char, tidy comment]
[akpm@linux-foundation.org: export do_take_over_console()]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Jiri Kosina <jkosina@suse.cz>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/balloon_compaction.h')
0 files changed, 0 insertions, 0 deletions