diff options
Diffstat (limited to 'arch/arm/kernel/module.c')
| -rw-r--r-- | arch/arm/kernel/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 1b061583408e..79b7e5cf5416 100644 --- a/arch/arm/kernel/module.c +++ b/arch/arm/kernel/module.c | |||
| @@ -116,8 +116,8 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, | |||
| 116 | 116 | ||
| 117 | offset += sym->st_value - loc; | 117 | offset += sym->st_value - loc; |
| 118 | if (offset & 3 || | 118 | if (offset & 3 || |
| 119 | offset <= (s32)0xfc000000 || | 119 | offset <= (s32)0xfe000000 || |
| 120 | offset >= (s32)0x04000000) { | 120 | offset >= (s32)0x02000000) { |
| 121 | printk(KERN_ERR | 121 | printk(KERN_ERR |
| 122 | "%s: relocation out of range, section " | 122 | "%s: relocation out of range, section " |
| 123 | "%d reloc %d sym '%s'\n", module->name, | 123 | "%d reloc %d sym '%s'\n", module->name, |
