• Petr Vandrovec's avatar
    [PATCH] matroxfb update + sparse annotations · ee3b1e7b
    Petr Vandrovec authored
    This change switches matroxfb on x86 and x86_64 from dereferencing
    pointers to {read,write}[bwl], as __pa() are gone from them, and so gcc
    does not need an additional register for preserving address between
    consecutive {read,write}[bwl].
    
    Then it switches only supported architecture left (ppc/ppc64/arm) from
    dereferencing pointers to __raw_{read,write}[bwl]. 
    
    Third part is fixing sparse complaints: add __iomem here and there, and
    switch one 1bit bitfield from int to unsigned int. 
    
    After this there should be no sparse complaints in matroxfb.
    Signed-off-by: default avatarPetr Vandrovec <vandrove@vc.cvut.cz>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ee3b1e7b
matroxfb_crtc2.h 683 Bytes