#ifndef CPUS_H #define CPUS_H #include static inline int get_number_cpus(void) { return sysconf(_SC_NPROCESSORS_CONF); } static inline int get_number_cpus_online(void) { return sysconf(_SC_NPROCESSORS_ONLN); } #endif /* CPUS_H */ anz.ch/cgit.cgi/linux/net-next.git/atom/net/hsr/hsr_forward.h?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines