git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[pandora-kernel.git]
/
arch
/
arm
/
kernel
/
module.c
diff --git
a/arch/arm/kernel/module.c
b/arch/arm/kernel/module.c
index
1b06158
..
a68259a
100644
(file)
--- a/
arch/arm/kernel/module.c
+++ b/
arch/arm/kernel/module.c
@@
-13,6
+13,7
@@
#include <linux/module.h>
#include <linux/moduleloader.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleloader.h>
#include <linux/kernel.h>
+#include <linux/mm.h>
#include <linux/elf.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/elf.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
@@
-116,8
+117,8
@@
apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
offset += sym->st_value - loc;
if (offset & 3 ||
offset += sym->st_value - loc;
if (offset & 3 ||
- offset <= (s32)0xf
c
000000 ||
- offset >= (s32)0x0
4
000000) {
+ offset <= (s32)0xf
e
000000 ||
+ offset >= (s32)0x0
2
000000) {
printk(KERN_ERR
"%s: relocation out of range, section "
"%d reloc %d sym '%s'\n", module->name,
printk(KERN_ERR
"%s: relocation out of range, section "
"%d reloc %d sym '%s'\n", module->name,