diff options
| -rw-r--r-- | include/linux/u64_stats_sync.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/u64_stats_sync.h b/include/linux/u64_stats_sync.h index 07ee0f84a46c..a27604f99ed0 100644 --- a/include/linux/u64_stats_sync.h +++ b/include/linux/u64_stats_sync.h | |||
| @@ -112,20 +112,6 @@ u64_stats_update_end_irqrestore(struct u64_stats_sync *syncp, | |||
| 112 | #endif | 112 | #endif |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | static inline void u64_stats_update_begin_raw(struct u64_stats_sync *syncp) | ||
| 116 | { | ||
| 117 | #if BITS_PER_LONG==32 && defined(CONFIG_SMP) | ||
| 118 | raw_write_seqcount_begin(&syncp->seq); | ||
| 119 | #endif | ||
| 120 | } | ||
| 121 | |||
| 122 | static inline void u64_stats_update_end_raw(struct u64_stats_sync *syncp) | ||
| 123 | { | ||
| 124 | #if BITS_PER_LONG==32 && defined(CONFIG_SMP) | ||
| 125 | raw_write_seqcount_end(&syncp->seq); | ||
| 126 | #endif | ||
| 127 | } | ||
| 128 | |||
| 129 | static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) | 115 | static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) |
| 130 | { | 116 | { |
| 131 | #if BITS_PER_LONG==32 && defined(CONFIG_SMP) | 117 | #if BITS_PER_LONG==32 && defined(CONFIG_SMP) |
