summaryrefslogtreecommitdiff
path: root/include/linux/bitops.h
AgeCommit message (Collapse)Author
2005-03-13[PATCH] rol/ror type cleanupMatt Mackall
Minor type cleanup. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-07[PATCH] random: Create new rol32/ror32 bitopsMatt Mackall
Add rol32 and ror32 bitops to bitops.h Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-01-04[PATCH] out-of-line implementation of find_next_bit()David Howells
The attached patch provides an out-of-line implementation of find_next_bit() and rearranges linux/bitops.h to avoid a dependency loop between inline functions in there and in asm/bitops.h trying to include one another. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-11-09[PATCH] fix "extern inline"Yoshinori Sato
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-05-01Make types of big integers in bitops.h explicit.Linus Torvalds
"sparse" warns about implicit type conversions that may cause surprising results. Did you know that large decimal types have different type conversions from large hexadecimals?
2003-06-20[PATCH] misc fixesAndrew Morton
- shmem: remove unneeded test for null inode->i_sb (James Morris) - kill unused var warning in traps.c (Geert Uytterhoeven) - s/u64/__u64/ in bitops.h (needed for klibc) - comment fix in gfp.h (Matthew Dobson <colpatch@us.ibm.com>) - fix smbfs constant overflow warning (Flameeyes <daps_mls@libero.it>) - yam.c irqreturn_t fix. - Remove some unused variables from baycom_epp.c (Adrian Bunk) - Remove 5-year-old unreferenced RCS string from xirc2ps_cs.c (Adrian Bunk)
2003-06-05[PATCH] Don't let processes be scheduled on CPU-less nodes (3/3)Andrew Morton
From: Matthew Dobson <colpatch@us.ibm.com> This patch implements a generic version of the nr_cpus_node(node) macro implemented for ppc64 by the previous patch. The generic version simply computes an hweight of the bitmask returned by node_to_cpumask(node) topology macro. This patch also adds a generic_hweight64() function and an hweight_long() function which are used as helpers for the generic nr_cpus_node() macro. This patch also adds a for_each_node_with_cpus() macro, which is used in sched_best_cpu() in kernel/sched.c to fix the original problem of scheduling processes on CPU-less nodes. This macro should also be used in the future to avoid similar problems. Test compiled and booted by Andrew Theurer (habanero@us.ibm.com) on both x440 and ppc64.
2003-03-30Did you know that C integer constant promotions are differentLinus Torvalds
depending on whether the constant is a hexadecimal one as opposed to a decimal one? Let's make it all explicit. There are probably more lurking around, these were found during development of my C checker tool.
2002-05-21[PATCH] suspend-to-{RAM,disk}Pavel Machek
Here's suspend-to-{RAM,disk} combined patch for 2.5.17. Suspend-to-disk is pretty stable and was tested in 2.4-ac. Suspend-to-RAM is little more experimental, but works for me, and is certainly better than disk-eating version currently in kernel. Major parts are: process stopper, S3 specific code, S4 specific code.
2002-02-04Import changesetLinus Torvalds