insmod: users report that "|| defined(__powerpc__)" is missing
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 14 Jul 2008 21:29:35 +0000 (21:29 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 14 Jul 2008 21:29:35 +0000 (21:29 -0000)
modutils/insmod.c

index 3b55451181a84e3c3a3602b0328843ffdc2e9964..77d36e16053af815848bb120a4e77ac19ffff80d 100644 (file)
@@ -840,7 +840,8 @@ arch_apply_relocation(struct obj_file *f,
                                ElfW(RelM) *rel, ElfW(Addr) v)
 {
 #if defined(__arm__) || defined(__i386__) || defined(__mc68000__) \
- || defined(__sh__) || defined(__s390__) || defined(__x86_64__)
+ || defined(__sh__) || defined(__s390__) || defined(__x86_64__) \
+ || defined(__powerpc__)
        struct arch_file *ifile = (struct arch_file *) f;
 #endif
        enum obj_reloc ret = obj_reloc_ok;