Dear Wiki user, You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification. The following page has been changed by DavidWoodhouse: http://www.fedoraproject.org/wiki/Docs/Beats/Devel/Tools ------------------------------------------------------------------------------ * The {{{PAGE_SIZE}}} macro is removed from some architectures, since the page size is variable. Userspace should be using {{{sysconf(_SC_PAGE_SIZE)}}} or {{{getpagesize()}}} instead. - * The {{{<asm/atomic.h>}}} and {{{<asm/bitops.h>}}} header files have been removed. These were not designed for use in userspace, and would fail to compile on some architectures while silently giving non-atomic behaviour on others. + * The {{{<asm/atomic.h>}}} and {{{<asm/bitops.h>}}} header files have been removed. These were not designed for use in userspace, and would fail to compile on some architectures while silently giving non-atomic behaviour on others. The C compiler provides its own [http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html#Atomic-Builtins atomic builtin functions] which are suitable for use in userspace programs instead. * Content which was previously protected with {{{#ifdef __KERNEL__}}} is now elided completely with the {{{unifdef}}} tool, so defining {{{__KERNEL___}}} in order to see parts which should not be visible to userspace is no longer effective.