powerpc/32s: drop CPU_FTR_USE_RTC feature
CPU_FTR_USE_RTC feature only applies to powerpc601. Drop this feature and replace it with tests on CONFIG_PPC_BOOK3S_601. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/170411e2360861f4a95c21faad43519a08bc4040.1566834712.git.christophe.leroy@c-s.fr
This commit is contained in:

committed by
Michael Ellerman

parent
12c3f1fd87
commit
88fb309409
@@ -70,6 +70,7 @@ V_FUNCTION_END(__kernel_get_syscall_map)
|
||||
*
|
||||
* returns the timebase frequency in HZ
|
||||
*/
|
||||
#ifndef CONFIG_PPC_BOOK3S_601
|
||||
V_FUNCTION_BEGIN(__kernel_get_tbfreq)
|
||||
.cfi_startproc
|
||||
mflr r12
|
||||
@@ -82,3 +83,4 @@ V_FUNCTION_BEGIN(__kernel_get_tbfreq)
|
||||
blr
|
||||
.cfi_endproc
|
||||
V_FUNCTION_END(__kernel_get_tbfreq)
|
||||
#endif
|
||||
|
@@ -144,10 +144,13 @@ VERSION
|
||||
__kernel_datapage_offset;
|
||||
|
||||
__kernel_get_syscall_map;
|
||||
#ifndef CONFIG_PPC_BOOK3S_601
|
||||
__kernel_gettimeofday;
|
||||
__kernel_clock_gettime;
|
||||
__kernel_clock_getres;
|
||||
__kernel_time;
|
||||
__kernel_get_tbfreq;
|
||||
#endif
|
||||
__kernel_sync_dicache;
|
||||
__kernel_sync_dicache_p5;
|
||||
__kernel_sigtramp32;
|
||||
@@ -155,7 +158,6 @@ VERSION
|
||||
#ifdef CONFIG_PPC64
|
||||
__kernel_getcpu;
|
||||
#endif
|
||||
__kernel_time;
|
||||
|
||||
local: *;
|
||||
};
|
||||
|
Reference in New Issue
Block a user