~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/u64_stats_sync.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
#endif
68
68
};
69
69
 
 
70
 
 
71
#if BITS_PER_LONG == 32 && defined(CONFIG_SMP)
 
72
# define u64_stats_init(syncp)  seqcount_init(syncp.seq)
 
73
#else
 
74
# define u64_stats_init(syncp)  do { } while (0)
 
75
#endif
 
76
 
70
77
static inline void u64_stats_update_begin(struct u64_stats_sync *syncp)
71
78
{
72
79
#if BITS_PER_LONG==32 && defined(CONFIG_SMP)