]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
console: Fix compilation regression
authorJason Wessel <jason.wessel@windriver.com>
Fri, 6 Aug 2010 20:36:47 +0000 (15:36 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 6 Aug 2010 20:36:47 +0000 (15:36 -0500)
commit9261ec1a8d7b17e2540bef7cad3470870d13b61e
treeee7d2713d947a8a231d720627806c1db6b67ed6b
parentfc1caf6eafb30ea185720e29f7f5eccca61ecd60
console: Fix compilation regression

A regression of building without CONFIG_HW_CONSOLE was introduced with
commit b45cfba4e9005d64d419718e7ff7f7cab44c1994 (vt,console,kdb:
implement atomic console enter/leave functions).

ERROR: "con_debug_enter" [drivers/serial/kgdboc.ko] undefined!
ERROR: "vc_cons" [drivers/serial/kgdboc.ko] undefined!
ERROR: "fg_console" [drivers/serial/kgdboc.ko] undefined!
ERROR: "con_debug_leave" [drivers/serial/kgdboc.ko] undefined!

When there is no HW console the con_debug_enter and con_debug_leave
functions should have no code.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
include/linux/console.h