diff options
author | Ron <ron@debian.org> | 2009-06-27 04:44:27 +0930 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-07-09 01:36:09 -0700 |
commit | c06d418fa75cc20a3f12576818b4d77f1c4cfdcb (patch) | |
tree | 5d0a8b0bade6f42df8a955d2afce25aaef1b5040 /libc/sysdeps/linux/common/sched_setaffinity.c | |
parent | 8d2ed43af888c404e90bc94a3096194c86bc3dae (diff) | |
download | uClibc-alpine-c06d418fa75cc20a3f12576818b4d77f1c4cfdcb.tar.bz2 uClibc-alpine-c06d418fa75cc20a3f12576818b4d77f1c4cfdcb.tar.xz |
Avoid warnings about shifting more bits than we have
The test here is a constant expression and will compile out.
For platforms that don't need the shift the code gets slightly smaller
and simpler, for those that do the result is unchanged.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/sched_setaffinity.c')
0 files changed, 0 insertions, 0 deletions