diff options
| author | David S. Miller <davem@davemloft.net> | 2018-05-07 23:25:25 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-07 23:25:25 -0400 |
| commit | 7f625bdf338ead091f2be9f4e2870ea4f9a531ea (patch) | |
| tree | 18d8cb69734dc1d4d396b485209c7d17c72a956b /include/linux | |
| parent | 6328c95ce7cd70f8a5b99e1d04050a061dd27223 (diff) | |
| parent | dea4c96e65b3c5520f1e9d9e038e79d59f5688f1 (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.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) |
