• B
    x86/mm/pat: Remove pat_enabled() checks · 7202fdb1
    Borislav Petkov 提交于
    Now that we emulate a PAT table when PAT is disabled, there's no
    need for those checks anymore as the PAT abstraction will handle
    those cases too.
    
    Based on a conglomerate patch from Toshi Kani.
    Signed-off-by: NBorislav Petkov <bp@suse.de>
    Reviewed-by: NToshi Kani <toshi.kani@hp.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Elliott@hp.com
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Luis R. Rodriguez <mcgrof@suse.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: arnd@arndb.de
    Cc: hch@lst.de
    Cc: hmh@hmh.eng.br
    Cc: jgross@suse.com
    Cc: konrad.wilk@oracle.com
    Cc: linux-mm <linux-mm@kvack.org>
    Cc: linux-nvdimm@lists.01.org
    Cc: stefan.bader@canonical.com
    Cc: yigal@plexistor.com
    Link: http://lkml.kernel.org/r/1433436928-31903-4-git-send-email-bp@alien8.deSigned-off-by: NIngo Molnar <mingo@kernel.org>
    7202fdb1
ioremap.c 13.5 KB