diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-12-21 15:52:24 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-04 17:15:34 +1100 |
commit | 8c0ec758fdec8cd5aa60f1f9cf4ca653717991f9 (patch) | |
tree | 3ddb8d4fcd06e2b23983f306cd8332f95c1e3068 /include | |
parent | 458b3f8e38e4e61c880ba640d4a30550b2693813 (diff) | |
download | skiboot-8c0ec758fdec8cd5aa60f1f9cf4ca653717991f9.zip skiboot-8c0ec758fdec8cd5aa60f1f9cf4ca653717991f9.tar.gz skiboot-8c0ec758fdec8cd5aa60f1f9cf4ca653717991f9.tar.bz2 |
console: unexport con_lock
The skiboot console lock protects the skiboot log buffer. All writes to
the log buffer need to be done via console_write() so there is no need
to export the lock outside console.c
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/console.h b/include/console.h index f88547c..4c77433 100644 --- a/include/console.h +++ b/include/console.h @@ -54,8 +54,6 @@ struct con_ops { int64_t (*flush)(void); }; -extern struct lock con_lock; - extern bool dummy_console_enabled(void); extern void force_dummy_console(void); extern bool flush_console(void); |