Skip to content

Commit

Permalink
module.c: spelling s/postition/position/g
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
geertu authored and Jiri Kosina committed Jul 20, 2012
1 parent c03c301 commit 2e76c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/m68k/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e76c28

Please sign in to comment.