aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/module.c')
-rw-r--r--arch/x86/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/module.c b/arch/x86/kernel/module.c
index f21fd94ac897..772e7ad5dc29 100644
--- a/arch/x86/kernel/module.c
+++ b/arch/x86/kernel/module.c
@@ -73,7 +73,7 @@ int apply_relocate(Elf32_Shdr *sechdrs,
73 *location += sym->st_value; 73 *location += sym->st_value;
74 break; 74 break;
75 case R_386_PC32: 75 case R_386_PC32:
76 /* Add the value, subtract its postition */ 76 /* Add the value, subtract its position */
77 *location += sym->st_value - (uint32_t)location; 77 *location += sym->st_value - (uint32_t)location;
78 break; 78 break;
79 default: 79 default: