Include "opt_cpu.h" and related #ifdef's for SSE so that pagezero()
actually includes the call to sse2_pagezero().
This commit is contained in:
parent
def055686c
commit
7fac6d07f6
@ -101,6 +101,7 @@ __FBSDID("$FreeBSD$");
|
||||
* and to when physical maps must be made correct.
|
||||
*/
|
||||
|
||||
#include "opt_cpu.h"
|
||||
#include "opt_pmap.h"
|
||||
#include "opt_msgbuf.h"
|
||||
#include "opt_kstack_pages.h"
|
||||
@ -140,6 +141,13 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/smp.h>
|
||||
#endif
|
||||
|
||||
#if !defined(CPU_ENABLE_SSE) && defined(I686_CPU)
|
||||
#define CPU_ENABLE_SSE
|
||||
#endif
|
||||
#if defined(CPU_DISABLE_SSE)
|
||||
#undef CPU_ENABLE_SSE
|
||||
#endif
|
||||
|
||||
#define PMAP_KEEP_PDIRS
|
||||
#ifndef PMAP_SHPGPERPROC
|
||||
#define PMAP_SHPGPERPROC 200
|
||||
|
Loading…
x
Reference in New Issue
Block a user