OSDN Git Service

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)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 2 Nov 2017 13:56:43 +0000 (14:56 +0100)
commit1943dc07b45e347c52c1bfdd4a37e04a86e399aa
tree3a576165716d5e3e7a685038bf2d1b8761eb3e34
parent06dd688ddda5819025e014b79aea9af6ab475fa2
bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")

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>
include/linux/bitops.h