X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fkernel%2Fmodule.c;h=a68259a0cccdb54ac3dd06cb3e5248b9b0904cd8;hb=5c402355adf8f920531f02099f4ec0d2bccd4c64;hp=1b061583408ed7f44158a7dfcf7b996e56f7a53f;hpb=1b06e7926694178e146ff708b2c15a6da64c9765;p=pandora-kernel.git 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,