From ac1a99b2c09263608e8a509f4e9ab495d5caeea5 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Thu, 19 Jul 2012 22:29:11 +0200 Subject: [PATCH] --- yaml --- r: 316108 b: refs/heads/master c: 2e76c2838a2c1c6c5c220410bcd3c0d6d82e4e31 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/m68k/kernel/module.c | 4 ++-- trunk/arch/x86/kernel/module.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 29f8a7a46f0f..1faf630fa1be 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c03c3013747a4c9e01d1b48637e6dd0ea3ef65c1 +refs/heads/master: 2e76c2838a2c1c6c5c220410bcd3c0d6d82e4e31 diff --git a/trunk/arch/m68k/kernel/module.c b/trunk/arch/m68k/kernel/module.c index 34849c4c6e3d..eb46fd6038ca 100644 --- a/trunk/arch/m68k/kernel/module.c +++ b/trunk/arch/m68k/kernel/module.c @@ -47,7 +47,7 @@ int apply_relocate(Elf32_Shdr *sechdrs, *location += sym->st_value; break; case R_68K_PC32: - /* Add the value, subtract its postition */ + /* Add the value, subtract its position */ *location += sym->st_value - (uint32_t)location; break; default: @@ -87,7 +87,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, *location = rel[i].r_addend + sym->st_value; break; case R_68K_PC32: - /* Add the value, subtract its postition */ + /* Add the value, subtract its position */ *location = rel[i].r_addend + sym->st_value - (uint32_t)location; break; default: diff --git a/trunk/arch/x86/kernel/module.c b/trunk/arch/x86/kernel/module.c index f21fd94ac897..772e7ad5dc29 100644 --- a/trunk/arch/x86/kernel/module.c +++ b/trunk/arch/x86/kernel/module.c @@ -73,7 +73,7 @@ int apply_relocate(Elf32_Shdr *sechdrs, *location += sym->st_value; break; case R_386_PC32: - /* Add the value, subtract its postition */ + /* Add the value, subtract its position */ *location += sym->st_value - (uint32_t)location; break; default: