1. NAME

work_on_cpu - run a function in user context on a particular cpu

2. SYNOPSIS

long work_on_cpu(int  cpu , long (* fn ) (void *), void *  arg );

3. ARGUMENTS

cpu
    the cpu to run on

fn
    the function to run

arg
    the function arg

4. DESCRIPTION

This will return the value fn returns. It is up to the caller to ensure that the cpu doesnAqt go offline. The caller must not hold any locks which would prevent fn from completing.

5. COPYRIGHT