bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
authorThomas Gleixner <tglx@linutronix.de>
Thu, 2 Nov 2017 12:30:03 +0000 (13:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:26:19 +0000 (14:26 +0100)
commitc1ffb6aefbc5aa6472e172d9c24c0e7a414a1e1f
tree678df1f2c8e42dfe4225444f7137703c211e5358
parent3243ae92926c4ad3a7f9596952542c6803e69050
bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")

commit 1943dc07b45e347c52c1bfdd4a37e04a86e399aa upstream.

These ops are not endian safe and may break on architectures which have
aligment requirements.

Reverts: cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/bitops.h