aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/include/asm/dtl.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-09-02 18:53:16 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-05 14:14:27 +1000
commit6ba5aa541aaa079c0ca888f7fe564b2035d5ca0a (patch)
tree05e5f79fbad3479a67fb13d8e55fc40b024204ea /arch/powerpc/include/asm/dtl.h
parentpowerpc/64: Remove PPC64 special case for cputime accounting default (diff)
downloadwireguard-linux-6ba5aa541aaa079c0ca888f7fe564b2035d5ca0a.tar.xz
wireguard-linux-6ba5aa541aaa079c0ca888f7fe564b2035d5ca0a.zip
powerpc/pseries: Move dtl scanning and steal time accounting to pseries platform
dtl is the PAPR Dispatch Trace Log, which is entirely a pseries feature. The pseries platform alrady has a file dealing with the dtl, so move scanning for stolen time accounting there from kernel/time.c. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220902085316.2071519-5-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/dtl.h')
-rw-r--r--arch/powerpc/include/asm/dtl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/include/asm/dtl.h b/arch/powerpc/include/asm/dtl.h
index 1625888f27ef..4bcb9f9ac764 100644
--- a/arch/powerpc/include/asm/dtl.h
+++ b/arch/powerpc/include/asm/dtl.h
@@ -37,14 +37,6 @@ struct dtl_entry {
extern struct kmem_cache *dtl_cache;
extern rwlock_t dtl_access_lock;
-/*
- * When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE = y, the cpu accounting code controls
- * reading from the dispatch trace log. If other code wants to consume
- * DTL entries, it can set this pointer to a function that will get
- * called once for each DTL entry that gets processed.
- */
-extern void (*dtl_consumer)(struct dtl_entry *entry, u64 index);
-
extern void register_dtl_buffer(int cpu);
extern void alloc_dtl_buffers(unsigned long *time_limit);
extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);