summaryrefslogtreecommitdiff
path: root/arch/um/drivers/harddog_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/harddog_user.c')
-rw-r--r--arch/um/drivers/harddog_user.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c
index 1171790f742c..b050e267befe 100644
--- a/arch/um/drivers/harddog_user.c
+++ b/arch/um/drivers/harddog_user.c
@@ -9,7 +9,6 @@
#include "user.h"
#include "mconsole.h"
#include "os.h"
-#include "choose-mode.h"
#include "mode.h"
struct dog_data {
@@ -64,7 +63,7 @@ int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock)
}
else {
/* XXX The os_getpid() is not SMP correct */
- sprintf(pid_buf, "%d", CHOOSE_MODE(tracing_pid, os_getpid()));
+ sprintf(pid_buf, "%d", os_getpid());
args = pid_args;
}