FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 05:44 PM
Mark McLoughlin
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:13 PM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org