diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-14 15:05:09 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-04-30 08:17:19 (GMT) |
commit | e78852912d83dc1cf9cbdbaee6e87f8c313e2c4f (patch) | |
tree | fc5373e2867ee22dfff8d54f812b41ebdc9ffcfd /fs | |
parent | 21179801fa92ab858b1c72c009f1b5ea4dc90ea1 (diff) | |
download | linux-fsl-qoriq-e78852912d83dc1cf9cbdbaee6e87f8c313e2c4f.tar.xz |
fs-block-rt-support.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,14 +98,14 @@ static void free_fdtable_rcu(struct rcu_head *rcu) kfree(fdt->open_fds); kfree(fdt); } else { - fddef = &get_cpu_var(fdtable_defer_list); + fddef = &per_cpu(fdtable_defer_list, get_cpu_light()); spin_lock(&fddef->lock); fdt->next = fddef->next; fddef->next = fdt; /* vmallocs are handled from the workqueue context */ schedule_work(&fddef->wq); spin_unlock(&fddef->lock); - put_cpu_var(fdtable_defer_list); + put_cpu_light(); } } |