Skip to contentSkip to conversation

sys32_module_warning cleanup from 2.6.0-test9

TRIVIAL David Jez 1 participant 1 message Nov 14, 2003

lore
Share & tools
lore

David Jez

author
#0 lore raw

Hi, i send you trivial patch for 2.6.0-test9 kernel which removes
obsolete warning. It is 2.6 kernel, that use module-init-tools so IMHO this warning is not necessary.

Regards,

Signature · 5 lines
-------------------------------------------------------
  David "Dave" Jez                Brno, CZ, Europe
 E-mail: [email protected]
PGP key: finger [email protected]
---------=[ ~EOF ]=------------------------------------
arch/x86_64/ia32/ia32entry.S +2 -2
diff -urN linux-2.6.0-test9.orig/arch/x86_64/ia32/ia32entry.S linux-2.6.0-test9/arch/x86_64/ia32/ia32entry.S
@@ -330,10 +330,10 @@
 	.quad sys32_adjtimex
 	.quad sys32_mprotect		/* 125 */
 	.quad compat_sys_sigprocmask
-	.quad sys32_module_warning	/* create_module */
+	.quad ni_syscall		/* create_module */
 	.quad sys_init_module
 	.quad sys_delete_module
-	.quad sys32_module_warning	/* 130  get_kernel_syms */
+	.quad ni_syscall		/* 130  get_kernel_syms */
 	.quad ni_syscall	/* quotactl */ 
 	.quad sys_getpgid
 	.quad sys_fchdir
arch/x86_64/ia32/sys_ia32.c +0 -7
diff -urN linux-2.6.0-test9.orig/arch/x86_64/ia32/sys_ia32.c linux-2.6.0-test9/arch/x86_64/ia32/sys_ia32.c
@@ -1817,13 +1817,6 @@
 }
 #endif
 
-long sys32_module_warning(void)
-{ 
-		printk(KERN_INFO "%s: 32bit 2.4.x modutils not supported on 64bit kernel\n",
-		       current->comm);
-	return -ENOSYS ;
-} 
-
 extern long sys_io_setup(unsigned nr_reqs, aio_context_t *ctx);
 
 long sys32_io_setup(unsigned nr_reqs, u32 *ctx32p)