patch-2.1.61 linux/fs/nls/nls_base.c
Next file: linux/fs/smbfs/cache.c
Previous file: linux/fs/nls/Makefile
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Oct 28 13:42:37 1997
- Orig file:
v2.1.60/linux/fs/nls/nls_base.c
- Orig date:
Sat Oct 25 02:44:18 1997
diff -u --recursive --new-file v2.1.60/linux/fs/nls/nls_base.c linux/fs/nls/nls_base.c
@@ -6,7 +6,6 @@
*
*/
-#define ASC_LINUX_VERSION(V, P, S) (((V) * 65536) + ((P) * 256) + (S))
#include <linux/version.h>
#include <linux/module.h>
#include <linux/string.h>
@@ -479,11 +478,10 @@
#ifdef CONFIG_NLS_CODEPAGE_874
init_nls_cp874();
#endif
-#if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(2,1,0)
- return 0;
-#else
- return register_symtab(&nls_syms);
+#ifdef CONFIG_NLS_KOI8_R
+ init_nls_koi8_r();
#endif
+ return 0;
}
#ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov