staging/xgifb: fix addressing issues on platform with long physical addressing
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 19 Mar 2012 17:50:14 +0000 (21:50 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:52:58 +0000 (09:52 -0700)
commitf650caaa49c774df0bf15a9f99168db93c7a92e8
treec014b0cd9a78bc3d94b1361ff2bc531bec2e53e1
parent9a801f252a1695d85da53845daf6e21671bf72ed
staging/xgifb: fix addressing issues on platform with long physical addressing

Some platforms (e.g. ppc460ex) have 36-bit physical addressing, while
sizeof(unsigned long) == 4. Adapt xgifb driver to use phys_addr_t for
physical address variables instead of unsigned long.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/XGIfb.h