diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 12:23:12 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-29 23:30:41 +0200 |
commit | 21ece08cde53262625c46bd64eb66a81be5b458c (patch) | |
tree | 6722a878cc26b53247926021ab922545c2ddc8d6 /include/linux/netfilter | |
parent | bf794775e976c2a059d8d88ef12715c91985a6c4 (diff) | |
download | lwn-21ece08cde53262625c46bd64eb66a81be5b458c.tar.gz lwn-21ece08cde53262625c46bd64eb66a81be5b458c.zip |
net: fix the xtables smp_processor_id assumptions for -rt
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/x_tables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index 1030b7593898..f7ab3f917048 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h @@ -473,14 +473,14 @@ static inline void xt_info_rdlock_bh(void) struct xt_info_lock *lock; local_bh_disable(); - lock = &__get_cpu_var(xt_info_locks); + lock = &__raw_get_cpu_var(xt_info_locks); if (likely(!lock->readers++)) spin_lock(&lock->lock); } static inline void xt_info_rdunlock_bh(void) { - struct xt_info_lock *lock = &__get_cpu_var(xt_info_locks); + struct xt_info_lock *lock = &__raw_get_cpu_var(xt_info_locks); if (likely(!--lock->readers)) spin_unlock(&lock->lock); |