From: Aaro Koskinen Date: Sun, 1 Feb 2015 15:01:33 +0000 (+0200) Subject: staging: xgifb: fix colours on big-endian machines other than powerpc X-Git-Tag: fixes-v4.0-rc1~99^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509031dd5f5ae008ef5d4d04226ce63ca8c84354;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed