aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-05-07 23:25:25 -0400
committerDavid S. Miller <davem@davemloft.net>2018-05-07 23:25:25 -0400
commit7f625bdf338ead091f2be9f4e2870ea4f9a531ea (patch)
tree18d8cb69734dc1d4d396b485209c7d17c72a956b /include/linux
parent6328c95ce7cd70f8a5b99e1d04050a061dd27223 (diff)
parentdea4c96e65b3c5520f1e9d9e038e79d59f5688f1 (diff)
Merge branch '3c59x-patches-and-the-removal-of-an-unused-function'
Sebastian Andrzej Siewior says: ==================== 3c59x patches and the removal of an unused function The first patch removes an unused function. The goal of remaining three patches is to get rid of the local_irq_save() usage in the driver which benefits -RT. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/u64_stats_sync.h14
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
115static 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
122static 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
129static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) 115static 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)