extern void mcheck_init(struct cpuinfo_x86 *c);
+extern int disable_pse;
+
static void default_init(struct cpuinfo_x86 * c)
{
/* Not much we can do here... */
else
generic_identify(c);
- printk(KERN_DEBUG "CPU: Before vendor init, caps: %08lx %08lx %08lx, vendor = %d\n",
- c->x86_capability[0],
- c->x86_capability[1],
- c->x86_capability[2],
- c->x86_vendor);
-
/*
* Vendor-specific initialization. In this section we
* canonicalize the feature flags, meaning if there are
/* Disable the PN if appropriate */
squash_the_stupid_serial_number(c);
- printk(KERN_DEBUG "CPU: After vendor init, caps: %08lx %08lx %08lx %08lx\n",
- c->x86_capability[0],
- c->x86_capability[1],
- c->x86_capability[2],
- c->x86_capability[3]);
-
/*
* The vendor-specific functions might have changed features. Now
* we do "generic changes."
clear_bit(X86_FEATURE_XMM, c->x86_capability);
}
+ if (disable_pse)
+ clear_bit(X86_FEATURE_PSE, c->x86_capability);
+
/* If the model name is still unset, do table lookup. */
if ( !c->x86_model_id[0] ) {
char *p;
boot_cpu_data.x86_capability[i] &= c->x86_capability[i];
}
- printk(KERN_DEBUG "CPU: Common caps: %08lx %08lx %08lx %08lx\n",
- boot_cpu_data.x86_capability[0],
- boot_cpu_data.x86_capability[1],
- boot_cpu_data.x86_capability[2],
- boot_cpu_data.x86_capability[3]);
-
/* Init Machine Check Exception if available. */
#ifdef CONFIG_X86_MCE
mcheck_init(c);
#include <asm/arch_hooks.h>
#include "setup_arch_pre.h"
+int disable_pse __initdata = 0;
+
static inline char * __init machine_specific_memory_setup(void);
/*
if (!memcmp(from+4, "nopentium", 9)) {
from += 9+4;
clear_bit(X86_FEATURE_PSE, boot_cpu_data.x86_capability);
+ disable_pse = 1;
} else if (!memcmp(from+4, "exactmap", 8)) {
from += 8+4;
e820.nr_map = 0;