瀏覽代碼

x86 PAT: decouple from nonpromisc devmem

Linus pointed it out that PAT should not depend on NONPROMISC_DEVMEM.

Also make PAT non-default.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 年之前
父節點
當前提交
8db979bcfe
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/x86/Kconfig

+ 2 - 2
arch/x86/Kconfig

@@ -1049,9 +1049,9 @@ config MTRR
 	  See <file:Documentation/mtrr.txt> for more information.
 	  See <file:Documentation/mtrr.txt> for more information.
 
 
 config X86_PAT
 config X86_PAT
-	def_bool y
+	bool
 	prompt "x86 PAT support"
 	prompt "x86 PAT support"
-	depends on MTRR && NONPROMISC_DEVMEM
+	depends on MTRR
 	help
 	help
 	  Use PAT attributes to setup page level cache control.
 	  Use PAT attributes to setup page level cache control.