]> err.no Git - linux-2.6/blobdiff - include/asm-um/ptrace-i386.h
[PATCH] Serial: Split 8250 port table
[linux-2.6] / include / asm-um / ptrace-i386.h
index 04222f35c43e2cd0a64b9b28e390be9953104ee6..fe882b9d917eb3d42d4fb73151a833271ef1c8e3 100644 (file)
 #define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r)
 #define PT_FIX_EXEC_STACK(sp) do ; while(0)
 
+/* Cope with a conditional i386 definition. */
+#undef profile_pc
+#define profile_pc(regs) PT_REGS_IP(regs)
+
 #define user_mode(r) UPT_IS_USER(&(r)->regs)
 
 #endif