include/asm-x86/vm86.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
364fe5ef47
commit
9e8a935bcf
1 changed files with 6 additions and 3 deletions
|
@ -42,9 +42,11 @@
|
||||||
#define VM86_ARG(retval) ((retval) >> 8)
|
#define VM86_ARG(retval) ((retval) >> 8)
|
||||||
|
|
||||||
#define VM86_SIGNAL 0 /* return due to signal */
|
#define VM86_SIGNAL 0 /* return due to signal */
|
||||||
#define VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */
|
#define VM86_UNKNOWN 1 /* unhandled GP fault
|
||||||
|
- IO-instruction or similar */
|
||||||
#define VM86_INTx 2 /* int3/int x instruction (ARG = x) */
|
#define VM86_INTx 2 /* int3/int x instruction (ARG = x) */
|
||||||
#define VM86_STI 3 /* sti/popf/iret instruction enabled virtual interrupts */
|
#define VM86_STI 3 /* sti/popf/iret instruction enabled
|
||||||
|
virtual interrupts */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Additional return values when invoking new vm86()
|
* Additional return values when invoking new vm86()
|
||||||
|
@ -205,7 +207,8 @@ void release_vm86_irqs(struct task_struct *);
|
||||||
#define handle_vm86_fault(a, b)
|
#define handle_vm86_fault(a, b)
|
||||||
#define release_vm86_irqs(a)
|
#define release_vm86_irqs(a)
|
||||||
|
|
||||||
static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) {
|
static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c)
|
||||||
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue