[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/5] lang: kill xen keymap hack



No idea whether this code will work with current pv_ops
xen kernels, but we don't have /proc/xen currently, so
the workaround won't work anyway.

Signed-off-by: Mark McLoughlin <markmc redhat com>
---
 isys/lang.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/isys/lang.c b/isys/lang.c
index 715f5e1..b6e2a36 100644
--- a/isys/lang.c
+++ b/isys/lang.c
@@ -113,8 +113,6 @@ int loadKeymap(gzFile stream) {
 #endif
     if (isVioConsole())
         return 0;
-    if (!access("/proc/xen", R_OK)) /* xen can't load keymaps */
-        return 0;
 
     /* assume that if we're already on a pty loading a keymap is silly */
     fstat(0, &sb);
-- 
1.5.4.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]