Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
  sparc64: Fix section attribute warnings.
  sparc64: Fix SET_PERSONALITY to not clip bits outside of PER_MASK.
  • Loading branch information
Linus Torvalds committed Jun 1, 2009
2 parents 6e42910 + 6373fff commit 65039a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions arch/sparc/include/asm/elf_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,9 @@ do { unsigned long new_flags = current_thread_info()->flags; \
else \
clear_thread_flag(TIF_ABI_PENDING); \
/* flush_thread will update pgd cache */ \
if (current->personality != PER_LINUX32) \
set_personality(PER_LINUX); \
if (personality(current->personality) != PER_LINUX32) \
set_personality(PER_LINUX | \
(current->personality & (~PER_MASK))); \
} while (0)

#endif /* !(__ASM_SPARC64_ELF_H) */
2 changes: 1 addition & 1 deletion arch/sparc/lib/csum_copy_from_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define EX_LD(x) \
98: x; \
.section .fixup; \
.section .fixup, "ax"; \
.align 4; \
99: retl; \
mov -1, %o0; \
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/lib/csum_copy_to_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define EX_ST(x) \
98: x; \
.section .fixup; \
.section .fixup,"ax"; \
.align 4; \
99: retl; \
mov -1, %o0; \
Expand Down

0 comments on commit 65039a3

Please sign in to comment.