diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 20:20:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 20:20:15 -0800 |
| commit | 5bf3be033f504f5fd79690fbb13d720407314e40 (patch) | |
| tree | 96b4fdb8c54f2477829c648e6078a0e54f5e7a6e /include/asm-ia64/module.h | |
| parent | 98b8803038fa999212c37952adad1e04144f0ab7 (diff) | |
v2.4.10.1 -> v2.4.10.2
- me/Al Viro: fix bdget() oops with block device modules that don't
clean up after they exit
- Alan Cox: continued merging (drivers, license tags)
- David Miller: sparc update, network fixes
- Christoph Hellwig: work around broken drivers that add a gendisk more
than once
- Jakub Jelinek: handle more ELF loading special cases
- Trond Myklebust: NFS client and lockd reclaimer cleanups/fixes
- Greg KH: USB updates
- Mikael Pettersson: sparate out local APIC / IO-APIC config options
Diffstat (limited to 'include/asm-ia64/module.h')
| -rw-r--r-- | include/asm-ia64/module.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-ia64/module.h b/include/asm-ia64/module.h index 10c1e866db25..52f500a875a8 100644 --- a/include/asm-ia64/module.h +++ b/include/asm-ia64/module.h @@ -14,7 +14,13 @@ #define module_map(x) vmalloc(x) #define module_unmap(x) ia64_module_unmap(x) #define module_arch_init(x) ia64_module_init(x) -#define arch_init_modules(x) do { } while (0) +#define arch_init_modules(x) { static struct archdata archdata; \ + register char *kernel_gp asm ("gp");\ + archdata.gp = kernel_gp; \ + kernel_module.archdata_start = (const char *) &archdata; \ + kernel_module.archdata_end = (const char *) (&archdata + 1); \ + } + /* * This must match in size and layout the data created by |
