Description: vmprof uses x86_64 assembler, so it's only available on x86_64
 Not all 64bit linux platforms.
Author: Stefano Rivera <stefanor@debian.org>
Forwarded: https://bitbucket.org/pypy/pypy/commits/5565f24726f04b1614eb3efe92c9941fc7cef328
Last-Update: 2015-06-08

--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -1,3 +1,4 @@
+import os
 import sys
 
 import py
@@ -38,7 +39,7 @@
     "_csv", "cppyy", "_pypyjson"
 ])
 
-if sys.platform.startswith('linux') and sys.maxint > 2147483647:
+if sys.platform.startswith('linux') and os.uname()[4] == 'x86_64':
     working_modules.add('_vmprof')
 
 translation_modules = default_modules.copy()
