kernel/arm/paging: remove empty code block related to global pages
Change-Id: I2f8b9da371cb4e2e496e985035bda78b139ff8e4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6443 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
parent
b809279cd8
commit
0d5bde4295
@ -305,14 +305,6 @@ ARMPagingMethod32Bit::Init(kernel_args* args,
|
||||
fPhysicalPageMapper, fKernelPhysicalPageMapper);
|
||||
// TODO: Select the best page mapper!
|
||||
|
||||
// enable global page feature if available
|
||||
#if 0 //IRA: check for ARMv6!!
|
||||
if (x86_check_feature(IA32_FEATURE_PGE, FEATURE_COMMON)) {
|
||||
// this prevents kernel pages from being flushed from TLB on
|
||||
// context-switch
|
||||
x86_write_cr4(x86_read_cr4() | IA32_CR4_GLOBAL_PAGES);
|
||||
}
|
||||
#endif
|
||||
TRACE("ARMPagingMethod32Bit::Init(): done\n");
|
||||
|
||||
*_physicalPageMapper = fPhysicalPageMapper;
|
||||
|
Loading…
Reference in New Issue
Block a user