]> git.sur5r.net Git - u-boot/blobdiff - include/ppc440.h
sh: Fix compile warning
[u-boot] / include / ppc440.h
index 3584fd24e82ad2b008996eff0fc4b02587ba4776..be8d3ffef7978db5464c31b78b42aed685df545c 100644 (file)
 
 #ifndef __ASSEMBLY__
 
-static inline u32 get_mcsr(void)
-{
-       u32 val;
-
-       asm volatile("mfspr %0, 0x23c" : "=r" (val) :);
-       return val;
-}
-
-static inline void set_mcsr(u32 val)
-{
-       asm volatile("mtspr 0x23c, %0" : "=r" (val) :);
-}
-
 #endif /* _ASMLANGUAGE */
 
 #endif /* __PPC440_H__ */