diff options
| author | Lai Jiangshan <[email protected]> | 2010-03-28 03:12:30 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2010-05-10 18:08:31 +0000 |
| commit | 0c34029abdfdea64420cb4264c4e91a776b22157 (patch) | |
| tree | 9025ccfef4210c04520617a4ae11ec4f24128660 /lib/debugobjects.c | |
| parent | rcu: make dead code really dead (diff) | |
| download | kernel-0c34029abdfdea64420cb4264c4e91a776b22157.tar.gz kernel-0c34029abdfdea64420cb4264c4e91a776b22157.zip | |
rcu: move some code from macro to function
Shrink the RCU_INIT_FLAVOR() macro by moving all but the initialization
of the ->rda[] array to rcu_init_one(). The call to rcu_init_one()
can then be moved to the end of the RCU_INIT_FLAVOR() macro, which is
required because rcu_boot_init_percpu_data(), which is now called from
rcu_init_one(), depends on the initialization of the ->rda[] array.
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
