commit | 509031dd5f5ae008ef5d4d04226ce63ca8c84354 | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@iki.fi> | Sun Feb 01 17:01:33 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 07 17:24:11 2015 +0800 |
tree | 57b8b8f77c805a5ff8169aa170074a26c8a75fa4 | |
parent | 659688a51a0e7427be2b2e38baeaa7f30ba16bcb [diff] |
staging: xgifb: fix colours on big-endian machines other than powerpc XGI framebuffer supports big-endian machines, but it's currently enabled based on __powerpc__ define (which is wrong, as powerpc can be also little-endian now). Use __BIG_ENDIAN instead. This will fix wrong colours on such machines. Tested on parisc with XGI Z7. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>