diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-07-19 16:29:11 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-07-20 04:38:35 -0400 |
commit | 2e76c2838a2c1c6c5c220410bcd3c0d6d82e4e31 (patch) | |
tree | 74c50328a4e5d2e3d74b41bebf843bea47e039dd /arch | |
parent | c03c3013747a4c9e01d1b48637e6dd0ea3ef65c1 (diff) |
module.c: spelling s/postition/position/g
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/kernel/module.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/module.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/kernel/module.c b/arch/m68k/kernel/module.c index 34849c4c6e3d..eb46fd6038ca 100644 --- a/arch/m68k/kernel/module.c +++ b/arch/m68k/kernel/module.c | |||
@@ -47,7 +47,7 @@ int apply_relocate(Elf32_Shdr *sechdrs, | |||
47 | *location += sym->st_value; | 47 | *location += sym->st_value; |
48 | break; | 48 | break; |
49 | case R_68K_PC32: | 49 | case R_68K_PC32: |
50 | /* Add the value, subtract its postition */ | 50 | /* Add the value, subtract its position */ |
51 | *location += sym->st_value - (uint32_t)location; | 51 | *location += sym->st_value - (uint32_t)location; |
52 | break; | 52 | break; |
53 | default: | 53 | default: |
@@ -87,7 +87,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, | |||
87 | *location = rel[i].r_addend + sym->st_value; | 87 | *location = rel[i].r_addend + sym->st_value; |
88 | break; | 88 | break; |
89 | case R_68K_PC32: | 89 | case R_68K_PC32: |
90 | /* Add the value, subtract its postition */ | 90 | /* Add the value, subtract its position */ |
91 | *location = rel[i].r_addend + sym->st_value - (uint32_t)location; | 91 | *location = rel[i].r_addend + sym->st_value - (uint32_t)location; |
92 | break; | 92 | break; |
93 | default: | 93 | default: |
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: |