Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/headers: Clean up too long lines

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bp@alien8.de
Cc: brgerst@gmail.com
Cc: dvlasenk@redhat.com
Cc: luto@amacapital.net
Cc: mikko.rapeli@iki.fi
Cc: oleg@redhat.com
Link: http://lkml.kernel.org/r/20150909071244.GM3644@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Peter Zijlstra and committed by
Ingo Molnar
0e2815de decb4c41

+31 -26
+31 -26
arch/x86/include/uapi/asm/sigcontext.h
··· 2 2 #define _UAPI_ASM_X86_SIGCONTEXT_H 3 3 4 4 /* 5 - * Linux signal context definitions. The sigcontext includes a complex hierarchy of CPU 6 - * and FPU state, available to user-space (on the stack) when a signal handler is 7 - * executed. 5 + * Linux signal context definitions. The sigcontext includes a complex 6 + * hierarchy of CPU and FPU state, available to user-space (on the stack) when 7 + * a signal handler is executed. 8 8 * 9 - * As over the years this ABI grew from its very simple roots towards supporting more and 10 - * more CPU state organically, some of the details (which were rather clever hacks back 11 - * in the days) became a bit quirky by today. 9 + * As over the years this ABI grew from its very simple roots towards 10 + * supporting more and more CPU state organically, some of the details (which 11 + * were rather clever hacks back in the days) became a bit quirky by today. 12 12 * 13 - * The current ABI includes flexible provisions for future extensions, so we won't have 14 - * to grow new quirks for quite some time. Promise! 13 + * The current ABI includes flexible provisions for future extensions, so we 14 + * won't have to grow new quirks for quite some time. Promise! 15 15 */ 16 16 17 17 #include <linux/compiler.h> ··· 23 23 24 24 /* 25 25 * Bytes 464..511 in the current 512-byte layout of the FXSAVE/FXRSTOR frame 26 - * are reserved for SW usage. On CPUs supporting XSAVE/XRSTOR, these bytes 27 - * are used to extend the fpstate pointer in the sigcontext, which now 28 - * includes the extended state information along with fpstate information. 26 + * are reserved for SW usage. On CPUs supporting XSAVE/XRSTOR, these bytes are 27 + * used to extend the fpstate pointer in the sigcontext, which now includes the 28 + * extended state information along with fpstate information. 29 29 * 30 - * If sw_reserved.magic1 == FP_XSTATE_MAGIC1 then there's a sw_reserved.extended_size 31 - * bytes large extended context area present. (The last 32-bit word of this extended 32 - * area (at the fpstate+extended_size-FP_XSTATE_MAGIC2_SIZE address) is set to 30 + * If sw_reserved.magic1 == FP_XSTATE_MAGIC1 then there's a 31 + * sw_reserved.extended_size bytes large extended context area present. (The 32 + * last 32-bit word of this extended area (at the 33 + * fpstate+extended_size-FP_XSTATE_MAGIC2_SIZE address) is set to 33 34 * FP_XSTATE_MAGIC2 so that you can sanity check your size calculations.) 34 35 * 35 - * This extended area typically grows with newer CPUs that have larger and larger 36 - * XSAVE areas. 36 + * This extended area typically grows with newer CPUs that have larger and 37 + * larger XSAVE areas. 37 38 */ 38 39 struct _fpx_sw_bytes { 39 - /* If set to FP_XSTATE_MAGIC1 then this is an xstate context. 0 if a legacy frame. */ 40 + /* 41 + * If set to FP_XSTATE_MAGIC1 then this is an xstate context. 42 + * 0 if a legacy frame. 43 + */ 40 44 __u32 magic1; 41 45 42 46 /* 43 47 * Total size of the fpstate area: 44 48 * 45 49 * - if magic1 == 0 then it's sizeof(struct _fpstate) 46 - * - if magic1 == FP_XSTATE_MAGIC1 then it's sizeof(struct _xstate) plus extensions (if any) 50 + * - if magic1 == FP_XSTATE_MAGIC1 then it's sizeof(struct _xstate) 51 + * plus extensions (if any) 47 52 */ 48 53 __u32 extended_size; 49 54 ··· 71 66 /* 72 67 * As documented in the iBCS2 standard: 73 68 * 74 - * The first part of "struct _fpstate" is just the normal i387 75 - * hardware setup, the extra "status" word is used to save the 76 - * coprocessor status word before entering the handler. 69 + * The first part of "struct _fpstate" is just the normal i387 hardware setup, 70 + * the extra "status" word is used to save the coprocessor status word before 71 + * entering the handler. 77 72 * 78 - * The FPU state data structure has had to grow to accommodate the 79 - * extended FPU state required by the Streaming SIMD Extensions. 80 - * There is no documented standard to accomplish this at the moment. 73 + * The FPU state data structure has had to grow to accommodate the extended FPU 74 + * state required by the Streaming SIMD Extensions. There is no documented 75 + * standard to accomplish this at the moment. 81 76 */ 82 77 83 78 /* 10-byte legacy floating point register: */ ··· 142 137 * 'struct _fpstate' so that you can always assume the _fpstate portion 143 138 * exists so that you can check the magic value. 144 139 * 145 - * Note2: Reserved fields may someday contain valuable data. Always save/restore 146 - * them when you change signal frames. 140 + * Note2: Reserved fields may someday contain valuable data. Always 141 + * save/restore them when you change signal frames. 147 142 */ 148 143 struct _fpstate_64 { 149 144 __u16 cwd;