Commit fb444c7b25420d57ce5e31cab486f734705bd278

Authored by Joe Perches
Committed by Ingo Molnar
1 parent fd1ea0c25a

include/asm-x86/lguest.h: checkpatch cleanups - formatting only

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 4 additions and 7 deletions Side-by-side Diff

include/asm-x86/lguest.h
... ... @@ -34,8 +34,7 @@
34 34 extern void lguest_iret(void);
35 35 extern void lguest_init(void);
36 36  
37   -struct lguest_regs
38   -{
  37 +struct lguest_regs {
39 38 /* Manually saved part. */
40 39 unsigned long eax, ebx, ecx, edx;
41 40 unsigned long esi, edi, ebp;
... ... @@ -51,8 +50,7 @@
51 50 };
52 51  
53 52 /* This is a guest-specific page (mapped ro) into the guest. */
54   -struct lguest_ro_state
55   -{
  53 +struct lguest_ro_state {
56 54 /* Host information we need to restore when we switch back. */
57 55 u32 host_cr3;
58 56 struct desc_ptr host_idt_desc;
... ... @@ -67,8 +65,7 @@
67 65 struct desc_struct guest_gdt[GDT_ENTRIES];
68 66 };
69 67  
70   -struct lg_cpu_arch
71   -{
  68 +struct lg_cpu_arch {
72 69 /* The GDT entries copied into lguest_ro_state when running. */
73 70 struct desc_struct gdt[GDT_ENTRIES];
74 71  
... ... @@ -85,7 +82,7 @@
85 82  
86 83 cr0 = read_cr0();
87 84 if (!(cr0 & 8))
88   - write_cr0(cr0|8);
  85 + write_cr0(cr0 | 8);
89 86 }
90 87  
91 88 /* Full 4G segment descriptors, suitable for CS and DS. */