#ifndef __CPUPOWER_CPUPOWER_H__ #define __CPUPOWER_CPUPOWER_H__ struct cpupower_topology { /* Amount of CPU cores, packages and threads per core in the system */ unsigned int cores; unsigned int pkgs; unsigned int threads; /* per core */ /* Array gets mallocated with cores entries, holding per core info */ struct cpuid_core_info *core_info; }; struct cpuid_core_info { int pkg; int core; int cpu; /* flags */ unsigned int is_online:1; }; #ifdef __cplusplus extern "C" { #endif int get_cpu_topology(struct cpupower_topology *cpu_top); void cpu_topology_release(struct cpupower_topology cpu_top); int cpupower_is_cpu_online(unsigned int cpu); #ifdef __cplusplus } #endif #endif lt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/rxrpc/proc.c
ue='2'>2
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
commit3efa70d78f218e4c9276b0bac0545e5184c1c47b (patch)
treef4abe2f05e173023d2a262afd4aebb1e89fe6985 /include/trace/events/huge_memory.h
parent76e0e70e6452b971a69cc9794ff4a6715c11f7f2 (diff)
parent926af6273fc683cd98cd0ce7bf0d04a02eed6742 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The conflict was an interaction between a bug fix in the netvsc driver in 'net' and an optimization of the RX path in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/events/huge_memory.h')