#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 */ le='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/drivers/usb/isp1760/isp1760-udc.c?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines