]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86/include/asm/processor.h
Merge branch 'linus' into tracing/hw-breakpoints
[mv-sheeva.git] / arch / x86 / include / asm / processor.h
index c7768269b1cf1364b76c948d886deee10de2cf70..2b03f700d3f2d4c88f5c15d3fba8a16fc5da908b 100644 (file)
@@ -29,6 +29,7 @@ struct mm_struct;
 #include <linux/threads.h>
 #include <linux/init.h>
 
+#define HBP_NUM 4
 /*
  * Default implementation of macro that returns current
  * instruction pointer ("program counter").
@@ -433,12 +434,11 @@ struct thread_struct {
 #endif
        unsigned long           gs;
        /* Hardware debugging registers: */
-       unsigned long           debugreg0;
-       unsigned long           debugreg1;
-       unsigned long           debugreg2;
-       unsigned long           debugreg3;
+       unsigned long           debugreg[HBP_NUM];
        unsigned long           debugreg6;
        unsigned long           debugreg7;
+       /* Hardware breakpoint info */
+       struct hw_breakpoint    *hbp[HBP_NUM];
        /* Fault info: */
        unsigned long           cr2;
        unsigned long           trap_no;