From 509031dd5f5ae008ef5d4d04226ce63ca8c84354 Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Sun, 1 Feb 2015 17:01:33 +0200 Subject: [PATCH] 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-format-patch failed