]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/geode.h
x86: GEODE: cache results from geode_has_vsa2() and uninline
[linux-2.6-omap-h63xx.git] / include / asm-x86 / geode.h
index 7154dc4de9511692c5417973ac866f4883d2d7c3..8a53bc8172301ece042151f061cfd3d36cd418a3 100644 (file)
@@ -185,16 +185,7 @@ static inline int is_geode(void)
        return (is_geode_gx() || is_geode_lx());
 }
 
-/*
- * The VSA has virtual registers that we can query for a signature.
- */
-static inline int geode_has_vsa2(void)
-{
-       outw(VSA_VR_UNLOCK, VSA_VRC_INDEX);
-       outw(VSA_VR_SIGNATURE, VSA_VRC_INDEX);
-
-       return (inw(VSA_VRC_DATA) == VSA_SIG);
-}
+extern int geode_has_vsa2(void);
 
 /* MFGPTs */