diff options
author | Joe Perches <joe@perches.com> | 2008-03-23 04:02:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:24 -0400 |
commit | fd1ea0c25ae00e2ac55881af55c3206664dd59a8 (patch) | |
tree | 9c2432b19f6bae014438fd24d2ae49539ea277bf /include/asm-x86/lguest_hcall.h | |
parent | 0c7825e64d377409deaaf73cd6311da9df310db3 (diff) |
include/asm-x86/lguest_hcall.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/lguest_hcall.h')
-rw-r--r-- | include/asm-x86/lguest_hcall.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-x86/lguest_hcall.h b/include/asm-x86/lguest_hcall.h index f239e7069cab..a3241f28e34a 100644 --- a/include/asm-x86/lguest_hcall.h +++ b/include/asm-x86/lguest_hcall.h | |||
@@ -46,7 +46,7 @@ hcall(unsigned long call, | |||
46 | { | 46 | { |
47 | /* "int" is the Intel instruction to trigger a trap. */ | 47 | /* "int" is the Intel instruction to trigger a trap. */ |
48 | asm volatile("int $" __stringify(LGUEST_TRAP_ENTRY) | 48 | asm volatile("int $" __stringify(LGUEST_TRAP_ENTRY) |
49 | /* The call in %eax (aka "a") might be overwritten */ | 49 | /* The call in %eax (aka "a") might be overwritten */ |
50 | : "=a"(call) | 50 | : "=a"(call) |
51 | /* The arguments are in %eax, %edx, %ebx & %ecx */ | 51 | /* The arguments are in %eax, %edx, %ebx & %ecx */ |
52 | : "a"(call), "d"(arg1), "b"(arg2), "c"(arg3) | 52 | : "a"(call), "d"(arg1), "b"(arg2), "c"(arg3) |
@@ -62,8 +62,7 @@ hcall(unsigned long call, | |||
62 | #define LGUEST_IRQS (NR_IRQS < 32 ? NR_IRQS: 32) | 62 | #define LGUEST_IRQS (NR_IRQS < 32 ? NR_IRQS: 32) |
63 | 63 | ||
64 | #define LHCALL_RING_SIZE 64 | 64 | #define LHCALL_RING_SIZE 64 |
65 | struct hcall_args | 65 | struct hcall_args { |
66 | { | ||
67 | /* These map directly onto eax, ebx, ecx, edx in struct lguest_regs */ | 66 | /* These map directly onto eax, ebx, ecx, edx in struct lguest_regs */ |
68 | unsigned long arg0, arg2, arg3, arg1; | 67 | unsigned long arg0, arg2, arg3, arg1; |
69 | }; | 68 | }; |