Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273024
b: refs/heads/master
c: 5ade887
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 9144942 commit 588ce2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1cf5e62ab939022b43634d6608afd10a809b02b9
refs/heads/master: 5ade8878e03a9a298a71efbf2895aa482e45448a
1 change: 0 additions & 1 deletion trunk/arch/um/include/shared/common-offsets.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);

OFFSET(HOST_TASK_REGS, task_struct, thread.regs);
OFFSET(HOST_TASK_PID, task_struct, pid);

DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/um/include/shared/task.h

This file was deleted.

4 changes: 3 additions & 1 deletion trunk/arch/x86/um/bugs_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
#include <signal.h>
#include "kern_util.h"
#include "longjmp.h"
#include "task.h"
#include "sysdep/ptrace.h"
#include <generated/asm-offsets.h>

/* Set during early boot */
static int host_has_cmov = 1;
static jmp_buf cmov_test_return;

#define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID]))

static void cmov_sigill_test_handler(int sig)
{
host_has_cmov = 0;
Expand Down

0 comments on commit 588ce2a

Please sign in to comment.