diff options
author | Suresh Siddha <[email protected]> | 2009-04-09 14:26:51 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-04-10 13:55:48 +0200 |
commit | b6ff32d9aaeeeecf98f9a852d715569183585312 (patch) | |
tree | cd7ae3c0d0e20d96874c95a36403f54720d05fa6 /fs/jbd2/commit.c | |
parent | 3869c4aa18835c8c61b44bd0f3ace36e9d3b5bd0 (diff) |
x86, PAT: Consolidate code in pat_x_mtrr_type() and reserve_memtype()
Fix pat_x_mtrr_type() to use UC_MINUS when the mtrr type return UC. This
is to be consistent with ioremap() and ioremap_nocache() which uses
UC_MINUS.
Consolidate the code such that reserve_memtype() also uses
pat_x_mtrr_type() when the caller doesn't specify any special attribute
(non WB attribute).
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: Venkatesh Pallipadi <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions