Commit 9f270de8 authored by Al Viro's avatar Al Viro Committed by Richard Weinberger

um: kill skas_ptregs.h

It's a plain include of user_constants.h and all (2) users are
including user_constants.h directly prior to that.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 4d45db9c
#ifndef __SKAS_PT_REGS_
#define __SKAS_PT_REGS_
#include <user_constants.h>
#endif
...@@ -24,8 +24,6 @@ void set_using_sysemu(int value); ...@@ -24,8 +24,6 @@ void set_using_sysemu(int value);
int get_using_sysemu(void); int get_using_sysemu(void);
extern int sysemu_supported; extern int sysemu_supported;
#include "skas_ptregs.h"
#define REGS_IP(r) ((r)[HOST_IP]) #define REGS_IP(r) ((r)[HOST_IP])
#define REGS_SP(r) ((r)[HOST_SP]) #define REGS_SP(r) ((r)[HOST_SP])
#define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS])
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#define MAX_REG_OFFSET (UM_FRAME_SIZE) #define MAX_REG_OFFSET (UM_FRAME_SIZE)
#define MAX_REG_NR ((MAX_REG_OFFSET) / sizeof(unsigned long)) #define MAX_REG_NR ((MAX_REG_OFFSET) / sizeof(unsigned long))
#include "skas_ptregs.h"
#define REGS_IP(r) ((r)[HOST_IP]) #define REGS_IP(r) ((r)[HOST_IP])
#define REGS_SP(r) ((r)[HOST_SP]) #define REGS_SP(r) ((r)[HOST_SP])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment