]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/dev/i386/kern_machdep.c
xnu-1228.tar.gz
[apple/xnu.git] / bsd / dev / i386 / kern_machdep.c
index 125b62efcb4e976d88ddb55d687566bacaf2aef9..bb9851e2e9e5a955b22ffe41ca7fff064574a28a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  *             binary, either directly or via an imputed interpreter.
  **********************************************************************/
 int
-grade_binary(cpu_type_t exectype, cpu_subtype_t execsubtype)
+grade_binary(cpu_type_t exectype, __unused cpu_subtype_t execsubtype)
 {
        switch(exectype) {
        case CPU_TYPE_X86:              /* native */
        case CPU_TYPE_POWERPC:          /* via translator */
                return 1;
        case CPU_TYPE_X86_64:           /* native 64-bit */
-               return (ml_is64bit() && execsubtype == CPU_SUBTYPE_X86_64_ALL) ? 2 : 0;
+               return ml_is64bit() ? 2 : 0;
        default:                        /* all other binary types */
                return 0;
        }