this patch series are things I extracted from my dynerama tree, they just clean up a few things with macros and inlines. This is the first step to dropping panoramiXNumScreens which is needed to do dynamic xinerama stuff. Dave.