Gitweb: http://git.kernel.org/linus/8b9cf76d0fa6cd98fe42dd2f86460d6ede55fed8 Commit: 8b9cf76d0fa6cd98fe42dd2f86460d6ede55fed8 Parent: 8340437210390676f687633a80e3748c40885dc8 Author: Thomas Bogendoerfer <tsbogend@alpha.franken.de> AuthorDate: Tue Apr 21 13:44:13 2009 +0200 Committer: Linus Torvalds <torvalds@linux-foundation.org> CommitDate: Tue Apr 21 07:50:58 2009 -0700 Fix SYSCALL_ALIAS for older MIPS assembler Older MIPS assembler don't support .set for defining aliases. Using = works for old and new assembers. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> --- include/linux/syscalls.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index dabe4ad..40617c1 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -148,7 +148,7 @@ struct old_linux_dirent; asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \ "\t.globl ." #alias "\n\t.set ." #alias ", ." #name) #else -#ifdef CONFIG_ALPHA +#if defined(CONFIG_ALPHA) || defined(CONFIG_MIPS) #define SYSCALL_ALIAS(alias, name) \ asm ( #alias " = " #name "\n\t.globl " #alias) #else -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
