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

« back to all changes in this revision

Viewing changes to include/asm-generic/word-at-a-time.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:
49
49
        return (val + c->high_bits) & ~rhs;
50
50
}
51
51
 
 
52
#ifndef zero_bytemask
 
53
#ifdef CONFIG_64BIT
 
54
#define zero_bytemask(mask)     (~0ul << fls64(mask))
 
55
#else
 
56
#define zero_bytemask(mask)     (~0ul << fls(mask))
 
57
#endif /* CONFIG_64BIT */
 
58
#endif /* zero_bytemask */
 
59
 
52
60
#endif /* _ASM_WORD_AT_A_TIME_H */