Skip to contentSkip to conversation

OpenRISC bug fixes for 3.9

GIT PULL Jonas Bonn 1 participant 1 message Mar 15, 2013

lore
Share & tools
lore

Jonas Bonn

author
#0 lore raw

Hi Linus,

Here are 3 patches to fix OpenRISC build issues for 3.9. 2 of them are essential as the build is broken without them; the third patch, removing VIRT_TO_BUS, isn't strictly essential, but is harmless enough and removes an invalid config setting introduced during this cycle.

Thanks,
Jonas

The following changes since commit 6c23cbbd5056b155401b0a2b5567d530e6c750c4:

futex: fix kernel-doc notation and spello (2013-03-12 20:42:10 -0700)

are available in the git repository at:

git://openrisc.net/jonas/linux tags/for-3.9-rc3

for you to fetch changes up to 6af609515d788bd4c94116344f00601b058f75a6:

openrisc: remove HAVE_VIRT_TO_BUS (2013-03-13 06:12:39 +0100)

----------------------------------------------------------------
OpenRISC bug fixes for 3.9

* The GPIO descriptor work has exposed how broken the non-GPIOLIB bits for OpenRISC were. We now require GPIOLIB as this is the preferred way forward.

* The system.h split introduced a bug in llist.h for arches using asm-generic/cmpxchg.h directly, which is currently only OpenRISC. The patch here moves two defines from asm-generic/atomic.h to asm-generic/cmpxchg.h to make things work as they should.

* The VIRT_TO_BUS selector was added for OpenRISC, but OpenRISC does not have the virt_to_bus methods, so there's a patch to remove it again.

----------------------------------------------------------------
Jonas Bonn (3):
openrisc: require gpiolib
asm-generic: move cmpxchg*_local defs to cmpxchg.h
openrisc: remove HAVE_VIRT_TO_BUS

 arch/openrisc/Kconfig         |  3 +--
 include/asm-generic/atomic.h  |  6 ------
 include/asm-generic/cmpxchg.h | 10 ++++++++++
 3 files changed, 11 insertions(+), 8 deletions(-)