]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] powerpc: Remove duplicate definition of set_tb()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 24 Oct 2005 05:07:26 +0000 (15:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Oct 2005 06:00:09 +0000 (16:00 +1000)
Somewhere along the line we got two definitions of set_tb(). They look to
be identical although they're not textually identical. So remove the #ifdef
CONFIG_PPC64 version, leaving the common version in time.h.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/reg.h

index 06a1f0f2db21708e688e187569064e2041fd87ad..68058d72d8da008cafd0955713dd9982a0b0c84a 100644 (file)
@@ -585,13 +585,6 @@ static inline void ppc64_runlatch_off(void)
                mtspr(SPRN_CTRLT, ctrl);
        }
 }
-
-static inline void set_tb(unsigned int upper, unsigned int lower)
-{
-       mttbl(0);
-       mttbu(upper);
-       mttbl(lower);
-}
 #endif
 
 #define __get_SP()     ({unsigned long sp; \