[kgtp] r1560 committed - Set tpe->step to 1 if it bigger than 1 if this is not X86 arch

  • From: kgtp@xxxxxxxxxxxxxx
  • To: kgtp@xxxxxxxxxxxxx
  • Date: Wed, 08 May 2013 08:23:20 +0000

Revision: 1560
Author:   teawater
Date:     Wed May  8 01:23:02 2013
Log:      Set tpe->step to 1 if it bigger than 1 if this is not X86 arch

http://code.google.com/p/kgtp/source/detail?r=1560

Modified:
 /trunk/gtp.c

=======================================
--- /trunk/gtp.c        Wed May  8 00:45:30 2013
+++ /trunk/gtp.c        Wed May  8 01:23:02 2013
@@ -8399,6 +8399,9 @@
 #ifdef CONFIG_X86
                if (tpe->step > 1)
                        gtp_have_step = 1;
+#else
+               if (tpe->step > 1)
+                       tpe->step = 1;
 #endif

                /* Get pass.  */

Other related posts:

  • » [kgtp] r1560 committed - Set tpe->step to 1 if it bigger than 1 if this is not X86 arch - kgtp