#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 */ m feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/sound/soc/davinci/Makefile?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines