aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:59 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:59 -0500
commit0f5340933f9bacb403f49baaf8073320e3984841 (patch)
treed142192f7194c75b8ea6e4eaff0e33fbcf860c6c /include
parentd277fb89dfb042deba04a8e765718cc8b3825e85 (diff)
x86: x86-32 thread_struct.debugreg
This replaces the debugreg[7] member of thread_struct with individual members debugreg0, etc. This saves two words for the dummies 4 and 5, and harmonizes the code between 32 and 64. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/processor_32.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h
index c85400fe58c4..d50a4b48d441 100644
--- a/include/asm-x86/processor_32.h
+++ b/include/asm-x86/processor_32.h
@@ -353,7 +353,12 @@ struct thread_struct {
353 unsigned long fs; 353 unsigned long fs;
354 unsigned long gs; 354 unsigned long gs;
355/* Hardware debugging registers */ 355/* Hardware debugging registers */
356 unsigned long debugreg[8]; /* %%db0-7 debug registers */ 356 unsigned long debugreg0;
357 unsigned long debugreg1;
358 unsigned long debugreg2;
359 unsigned long debugreg3;
360 unsigned long debugreg6;
361 unsigned long debugreg7;
357/* fault info */ 362/* fault info */
358 unsigned long cr2, trap_no, error_code; 363 unsigned long cr2, trap_no, error_code;
359/* floating point info */ 364/* floating point info */