From 7496bd022dd630ce521078b34a93cc041143b685 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Feb 2006 03:31:53 +0000 Subject: touchup syscall break define so it doesnt conflict with kernel headers --- libc/sysdeps/linux/ia64/bits/syscalls.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/ia64') diff --git a/libc/sysdeps/linux/ia64/bits/syscalls.h b/libc/sysdeps/linux/ia64/bits/syscalls.h index 591075ab0..351f3398e 100644 --- a/libc/sysdeps/linux/ia64/bits/syscalls.h +++ b/libc/sysdeps/linux/ia64/bits/syscalls.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jes Sorensen, , April 1999. Based on code originally written by David Mosberger-Tang @@ -42,16 +43,17 @@ #define SYS_ify(syscall_name) __NR_##syscall_name /* taken from asm-ia64/break.h */ -#define __IA64_BREAK_SYSCALL "0x100000" +#define __IA64_BREAK_SYSCALL 0x100000 +#define ___IA64_BREAK_SYSCALL "0x100000" -#define _DO_SYSCALL(name, nr, args...) \ +#define _DO_SYSCALL(break_syscall, name, nr, args...) \ LOAD_ARGS_##nr (args) \ register long _r8 asm ("r8"); \ register long _r10 asm ("r10"); \ register long _r15 asm ("r15") = SYS_ify(name); \ long _retval; \ LOAD_REGS_##nr \ - __asm __volatile ("break " __IA64_BREAK_SYSCALL ";;\n\t" \ + __asm __volatile ("break " ___IA64_BREAK_SYSCALL ";;\n\t" \ : "=r" (_r8), "=r" (_r10), "=r" (_r15) ASM_OUTARGS_##nr \ : "2" (_r15) ASM_ARGS_##nr \ : "memory" ASM_CLOBBERS_##nr); \ -- cgit v1.2.3