[PATCH] cpumask: uninline first_cpu()
[deliverable/linux.git] / lib / cpumask.c
CommitLineData
ccb46000
AM
1#include <linux/kernel.h>
2#include <linux/bitops.h>
3#include <linux/cpumask.h>
4#include <linux/module.h>
5
6int __first_cpu(const cpumask_t *srcp)
7{
8 return min_t(int, NR_CPUS, find_first_bit(srcp->bits, NR_CPUS));
9}
10EXPORT_SYMBOL(__first_cpu);
11
This page took 0.031438 seconds and 5 git commands to generate.