X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Farm%2Fkernel%2Fmodule.c;h=a68259a0cccdb54ac3dd06cb3e5248b9b0904cd8;hp=1b061583408ed7f44158a7dfcf7b996e56f7a53f;hb=7f268a2ba7c884a239713696238dd4207a57dd9a;hpb=ccaa36f73544163ef6e15eb29a620130755f6001 diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 1b061583408e..a68259a0cccd 100644 --- a/arch/arm/kernel/module.c +++ b/arch/arm/kernel/module.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -116,8 +117,8 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, offset += sym->st_value - loc; if (offset & 3 || - offset <= (s32)0xfc000000 || - offset >= (s32)0x04000000) { + offset <= (s32)0xfe000000 || + offset >= (s32)0x02000000) { printk(KERN_ERR "%s: relocation out of range, section " "%d reloc %d sym '%s'\n", module->name,