patch-2.4.4 linux/include/asm-ia64/module.h
Next file: linux/include/asm-ia64/offsets.h
Previous file: linux/include/asm-ia64/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Thu Apr 12 12:16:36 2001
- Orig file:
v2.4.3/linux/include/asm-ia64/module.h
- Orig date:
Thu Jan 4 12:50:17 2001
diff -u --recursive --new-file v2.4.3/linux/include/asm-ia64/module.h linux/include/asm-ia64/module.h
@@ -7,7 +7,6 @@
* Copyright (C) 2000 Mike Stephens <mike.stephens@intel.com>
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <asm/unwind.h>
@@ -35,7 +34,6 @@
static inline int
ia64_module_init(struct module *mod)
{
-#ifdef CONFIG_IA64_NEW_UNWIND
struct archdata *archdata;
if (!mod_member_present(mod, archdata_start) || !mod->archdata_start)
@@ -79,14 +77,12 @@
(unsigned long) archdata->segment_base,
(unsigned long) archdata->gp,
archdata->unw_start, archdata->unw_end);
-#endif /* CONFIG_IA64_NEW_UNWIND */
return 0;
}
static inline void
ia64_module_unmap(void * addr)
{
-#ifdef CONFIG_IA64_NEW_UNWIND
struct module *mod = (struct module *) addr;
struct archdata *archdata;
@@ -100,7 +96,6 @@
if (archdata->unw_table != NULL)
unw_remove_unwind_table((void *) archdata->unw_table);
}
-#endif /* CONFIG_IA64_NEW_UNWIND */
vfree(addr);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)