From dba92b0c42426e5f58096e03320c6f46777658d5 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Fri, 10 Jun 2011 23:24:54 +0000
Subject: [PATCH] actually use the 64 bit cpu detection

---
 core/java/src/net/i2p/util/NativeBigInteger.java  | 11 -----------
 history.txt                                       |  1 +
 router/java/src/net/i2p/router/RouterVersion.java |  2 +-
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/core/java/src/net/i2p/util/NativeBigInteger.java b/core/java/src/net/i2p/util/NativeBigInteger.java
index a542bfbe3d..bc42599929 100644
--- a/core/java/src/net/i2p/util/NativeBigInteger.java
+++ b/core/java/src/net/i2p/util/NativeBigInteger.java
@@ -179,17 +179,6 @@ public class NativeBigInteger extends BigInteger {
       * @return A string containing the CPU-type or null if CPU type is unknown
       */
     private static String resolveCPUType() {
-        if (_is64) {
-            // Test the 64 bit libjcpuid, even though we don't use it yet
-            try {
-                CPUInfo c = CPUID.getInfo();
-                _cpuModel = c.getCPUModelString();
-            } catch (UnknownCPUException e) {
-                // log?
-            }
-            return JBIGI_OPTIMIZATION_ATHLON64;
-        }
-        
         try {
             CPUInfo c = CPUID.getInfo();
             try {
diff --git a/history.txt b/history.txt
index c85e669da9..3668ced701 100644
--- a/history.txt
+++ b/history.txt
@@ -22,6 +22,7 @@
         http://sponge.i2p/files/jbigi/gmp-4.3.2/
         The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was
         little or no performance difference between the two versions for 32 bit processors.
+    * NBI: Enable 64-bit processor detection
     * Profiles: Skip and delete a corrupt profile read from disk
 
 2011-06-10 kytv
diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java
index 0bd65feeba..7f0b07e778 100644
--- a/router/java/src/net/i2p/router/RouterVersion.java
+++ b/router/java/src/net/i2p/router/RouterVersion.java
@@ -18,7 +18,7 @@ public class RouterVersion {
     /** deprecated */
     public final static String ID = "Monotone";
     public final static String VERSION = CoreVersion.VERSION;
-    public final static long BUILD = 23;
+    public final static long BUILD = 24;
 
     /** for example "-test" */
     public final static String EXTRA = "";
-- 
GitLab