WORK_ON_CPU(9) Driver Basics WORK_ON_CPU(9)NAMEwork_on_cpu - run a function in user context on a particular cpu
SYNOPSIS
long work_on_cpu(unsigned int cpu, long (*fn) (void *), void * arg);
ARGUMENTS
cpu
the cpu to run on
fn
the function to run
arg
the function arg
DESCRIPTION
This will return the value fn returns. It is up to the caller to ensure
that the cpu doesn´t go offline. The caller must not hold any locks
which would prevent fn from completing.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 WORK_ON_CPU(9)