insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)

This commit is contained in:
Denis Vlasenko 2008-05-17 02:47:55 +00:00
parent 85e015c7c8
commit 2794c9bb93

View File

@ -184,6 +184,7 @@ static int insmod_ng_main(int argc, char **argv);
/* Microblaze */ /* Microblaze */
#if defined(__microblaze__) #if defined(__microblaze__)
#define USE_SINGLE #define USE_SINGLE
#include <linux/elf-em.h>
#define MATCH_MACHINE(x) (x == EM_XILINX_MICROBLAZE) #define MATCH_MACHINE(x) (x == EM_XILINX_MICROBLAZE)
#define SHT_RELM SHT_RELA #define SHT_RELM SHT_RELA
#define Elf32_RelM Elf32_Rela #define Elf32_RelM Elf32_Rela