diff options
author | Venkatesh Pallipadi <[email protected]> | 2009-02-24 17:35:12 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-02-25 13:09:51 +0100 |
commit | 4ab0d47d0ab311eb181532c1ecb6d02905685071 (patch) | |
tree | 48b1a6cc01b65bab1442e05a971220366f998976 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 6644107d57a8fa82b47e4c55da4d9d91a612f29c (diff) |
gpu/drm, x86, PAT: io_mapping_create_wc and resource_size_t
io_mapping_create_wc should take a resource_size_t parameter in place of
unsigned long. With unsigned long, there will be no way to map greater than 4GB
address in i386/32 bit.
On x86, greater than 4GB addresses cannot be mapped on i386 without PAE. Return
error for such a case.
Patch also adds a structure for io_mapping, that saves the base, size and
type on HAVE_ATOMIC_IOMAP archs, that can be used to verify the offset on
io_mapping_map calls.
Signed-off-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: Keith Packard <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions