# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ mtrr_check() { ebegin "Checking for MTRR support" linux_chkconfig_present MTRR eend $? if [[ $? -ne 0 ]] ; then eerror "Please enable MTRR support in your kernel config, found at:" eerror eerror " Processor type and features" eerror " [*] MTRR (Memory Type Range Register) support" eerror eerror "and recompile your kernel ..." die "MTRR support not detected!" fi }