Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99391
b: refs/heads/master
c: 6330a30
h: refs/heads/master
i:
  99389: 46da7f4
  99387: e4997b4
  99383: 0346f9e
  99375: c708c52
  99359: 3e65bd2
  99327: e206a8a
v: v3
  • Loading branch information
Vegard Nossum authored and Ingo Molnar committed Jun 2, 2008
1 parent eb7c241 commit bb77db2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 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: 83bea8e1fa0c47b30664b6f92397c016c22f77fb
refs/heads/master: 6330a30a76c1e62d4b4ec238368957f8febf9113
6 changes: 6 additions & 0 deletions trunk/include/asm-x86/processor-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,10 @@
#define CX86_ARR_BASE 0xc4
#define CX86_RCR_BASE 0xdc

#ifdef CONFIG_VM86
#define X86_VM_MASK X86_EFLAGS_VM
#else
#define X86_VM_MASK 0 /* No VM86 support */
#endif

#endif /* __ASM_I386_PROCESSOR_FLAGS_H */
8 changes: 5 additions & 3 deletions trunk/include/asm-x86/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

#include <linux/compiler.h> /* For __user */
#include <asm/ptrace-abi.h>
#include <asm/processor-flags.h>

#ifdef __KERNEL__
#include <asm/ds.h> /* the DS BTS struct is used for ptrace too */
#include <asm/segment.h>
#endif

#ifndef __ASSEMBLY__

Expand Down Expand Up @@ -55,9 +60,6 @@ struct pt_regs {
unsigned long ss;
};

#include <asm/vm86.h>
#include <asm/segment.h>

#endif /* __KERNEL__ */

#else /* __i386__ */
Expand Down
8 changes: 1 addition & 7 deletions trunk/include/asm-x86/vm86.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ struct vm86plus_info_struct {
unsigned long is_vm86pus:1; /* for vm86 internal use */
unsigned char vm86dbg_intxxtab[32]; /* for debugger */
};

struct vm86plus_struct {
struct vm86_regs regs;
unsigned long flags;
Expand All @@ -128,11 +127,7 @@ struct vm86plus_struct {

#ifdef __KERNEL__

#ifdef CONFIG_VM86
#define X86_VM_MASK X86_EFLAGS_VM
#else
#define X86_VM_MASK 0 /* No VM86 support */
#endif
#include <asm/ptrace.h>

/*
* This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86
Expand All @@ -142,7 +137,6 @@ struct vm86plus_struct {
* at the end of the structure. Look at ptrace.h to see the "normal"
* setup. For user space layout see 'struct vm86_regs' above.
*/
#include <asm/ptrace.h>

struct kernel_vm86_regs {
/*
Expand Down

0 comments on commit bb77db2

Please sign in to comment.