backports: backport some memory functions
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Jun 2013 11:48:04 +0000 (13:48 +0200)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 12 Jun 2013 21:50:29 +0000 (14:50 -0700)
commit2ce5c22448bb45998318267c00b5d6ef9cff3170
tree617cc643d30061d8e29f60d82ad1e706595f44f5
parent3d933ebf704c18ab3b7cdbd489021631fc1efe88
backports: backport some memory functions

This includes the following functions needed by some drm drivers:
arch_phys_wc_add()
arch_phys_wc_del()
phys_wc_to_mtrr_index()

This backports the following commit form mainline kernel:
commit d0d98eedee2178c803dd824bb09f52b0e2ac1811
Author: Andy Lutomirski <luto@amacapital.net>
Date:   Mon May 13 23:58:40 2013 +0000

    Add arch_phys_wc_{add, del} to manipulate WC MTRRs if needed

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/asm/mtrr.h [new file with mode: 0644]
backport/backport-include/linux/io.h [new file with mode: 0644]
backport/compat/Makefile
backport/compat/backport-3.11.c [new file with mode: 0644]