Skip to contentSkip to conversation

Fix up more asm/system.h fallout

PATCH Applied Paul Gortmaker 8 participants 34 messages Apr 1, 2012 – Apr 6, 2012

Subsystems (9)
lore
Share & tools
lore
#0 lore raw

cover Fix up more asm/system.h fallout

Like others, I was surprised it didn't get a soak in linux-next before being merged, but I guess what is done is done, so lets try and limit the fallout from having any wider of a commit range than it already does.

It is all system.h stuff except for three things.

1) an avr32 patch I'd created but the avr32 guys hadn't got signed keys yet, so I might as well get it in here along with other similar build fail fixes (the atmel one).

2) A cosmetic fix to the device.h changeset from me earlier.

3) A trivial warning fix to an arch/frv specific file.

I'm going to queue this up in my feed branch to linux-next so we can start reducing the number of build failures from what we had on Friday.

Paul.
---

The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:

Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git buildfixes

for you to fetch changes up to af901116760f93297ad53cc3a0cc5e370e9ccb5a:

asm-generic: add linux/types.h to cmpxchg.h (2012-04-01 15:59:54 -0400)

----------------------------------------------------------------

Paul Gortmaker (11):
irq_work: fix compile failure on MIPS from system.h split
ARM: mach-msm: fix compile fail from system.h fallout
avr32: fix nop compile fails from system.h split up
avr32: fix build failures from mis-naming of atmel_nand.h
blackfin: fix cmpxchg build fails from system.h fallout
parisc: fix missing cmpxchg file error from system.h split
sh: fix several build failures from system.h fallout
frv: fix warnings in mb93090-mb00/pci-dma.c about implicit EXPORT_SYMBOL
firewire: restore the device.h include in linux/firewire.h
tile: fix multiple build failures from system.h dismantle
asm-generic: add linux/types.h to cmpxchg.h

 arch/arm/mach-msm/include/mach/uncompress.h |    1 +
 arch/avr32/include/asm/mmu_context.h        |    1 +
 arch/avr32/mach-at32ap/include/mach/board.h |    2 +-
 arch/blackfin/include/asm/cmpxchg.h         |    3 +-
 arch/frv/mb93090-mb00/pci-dma.c             |    1 +
 arch/parisc/include/asm/atomic.h            |  107 +------------------------
 arch/parisc/include/asm/cmpxchg.h           |  116 +++++++++++++++++++++++++++
 arch/sh/kernel/cpu/fpu.c                    |    1 +
 arch/sh/kernel/cpu/sh4/fpu.c                |    1 +
 arch/sh/mm/cache-sh4.c                      |    1 +
 arch/sh/mm/flush-sh4.c                      |    1 +
 arch/tile/include/asm/atomic.h              |   50 +-----------
 arch/tile/include/asm/cmpxchg.h             |   73 +++++++++++++++++
 arch/tile/kernel/process.c                  |    1 +
 arch/tile/kernel/stack.c                    |    1 +
 include/asm-generic/cmpxchg.h               |    1 +
 include/linux/firewire.h                    |    3 +-
 include/linux/platform_data/atmel.h         |    6 +-
 kernel/irq_work.c                           |    1 +
 19 files changed, 210 insertions(+), 161 deletions(-)
 create mode 100644 arch/parisc/include/asm/cmpxchg.h
 create mode 100644 arch/tile/include/asm/cmpxchg.h
Signature · 1 line
1.7.9.1
#1 lore raw

PATCH 1/11 irq_work: fix compile failure on MIPS from system.h split

Builds of the MIPS platform ip32_defconfig fails as of commit 0195c00244dc2e9f522475868fa278c473ba7339

    "Merge tag 'split-asm_system_h-for-linus-20120328' ..."

because MIPS xchg() macro uses BUILD_BUG_ON and it was moved in commit b81947c646bfefdf98e2fde5d7d39cbbda8525d4

"Disintegrate asm/system.h for MIPS"

The root cause is that the system.h split wasn't tested on a baseline with commit 6c03438edeb5c359af35f060ea016ca65671c269

"kernel.h: doesn't explicitly use bug.h, so don't include it."

Since this file uses BUG code in several other places besides the xchg call, simply make the inclusion explicit.

---
 kernel/irq_work.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
kernel/irq_work.c +1 -0
index c3c46c7..0c56d44 100644
@@ -5,6 +5,7 @@
  * context. The enqueueing is NMI-safe.
  */
 
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/export.h>
 #include <linux/irq_work.h>
Signature · 1 line
1.7.9.1
#3 lore raw

PATCH 2/11 ARM: mach-msm: fix compile fail from system.h fallout

In reply to Paul Gortmaker

To fix:

In file included from arm/boot/compressed/misc.c:28:0:
arm/mach-msm/include/mach/uncompress.h: In function 'putc':
arch/arm/mach-msm/include/mach/uncompress.h:48:3: error: implicit declaration of function 'smp_mb' [-Werror=implicit-function-declaration]

The putc does a cpu_relax which for this platform is smp_mb.

Bisect indicates the 1st failing commit as:

    commit 0195c00244dc2e9f522475868fa278c473ba7339
    "Merge tag 'split-asm_system_h-for-linus-20120328' ..."
---
 arch/arm/mach-msm/include/mach/uncompress.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-msm/include/mach/uncompress.h +1 -0
index 169a840..c14011f 100644
@@ -16,6 +16,7 @@
 #ifndef __ASM_ARCH_MSM_UNCOMPRESS_H
 #define __ASM_ARCH_MSM_UNCOMPRESS_H
 
+#include <asm/barrier.h>
 #include <asm/processor.h>
 #include <mach/msm_iomap.h>
 
Signature · 1 line
1.7.9.1
#9 lore raw

PATCH 4/11 avr32: fix build failures from mis-naming of atmel_nand.h

In reply to Paul Gortmaker

Commit bf4289cba02b8cf770ecd7959ca70839f0dd9d3c

"ATMEL: fix nand ecc support"

indicated that it wanted to "Move platform data to a common header include/linux/platform_data/atmel_nand.h" and the new header even had re-include protectors with:

    #ifndef __ATMEL_NAND_H__

However, the file that was added was simply called atmel.h and this caused avr32 defconfig to fail with:

In file included from arch/avr32/boards/atstk1000/setup.c:22:
arch/avr32/mach-at32ap/include/mach/board.h:10:44: error: linux/platform_data/atmel_nand.h: No such file or directory In file included from arch/avr32/boards/atstk1000/setup.c:22:
arch/avr32/mach-at32ap/include/mach/board.h:121: warning: 'struct atmel_nand_data' declared inside parameter list arch/avr32/mach-at32ap/include/mach/board.h:121: warning: its scope is only this definition or declaration, which is probably not what you want make[2]: *** [arch/avr32/boards/atstk1000/setup.o] Error 1

It seems the scope of the file contents will expand beyond just nand, so ignore the original intention, and fix up the users who reference the bad name with the _nand suffix.

CC Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
CC David Woodhouse <[email protected]>
---
 arch/avr32/mach-at32ap/include/mach/board.h |    2 +-
 include/linux/platform_data/atmel.h         |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/avr32/mach-at32ap/include/mach/board.h +1 -1
index 7173386..70742ec 100644
@@ -7,7 +7,7 @@
 #include <linux/types.h>
 #include <linux/serial.h>
 #include <linux/platform_data/macb.h>
-#include <linux/platform_data/atmel_nand.h>
+#include <linux/platform_data/atmel.h>
 
 #define GPIO_PIN_NONE	(-1)
 
include/linux/platform_data/atmel.h +3 -3
index d056263..b0f2c56 100644
@@ -4,8 +4,8 @@
  * GPL v2 Only
  */
 
-#ifndef __ATMEL_NAND_H__
-#define __ATMEL_NAND_H__
+#ifndef __ATMEL_H__
+#define __ATMEL_H__
 
 #include <linux/mtd/nand.h>
 
@@ -24,4 +24,4 @@ struct atmel_nand_data {
 	unsigned int	num_parts;
 };
 
-#endif /* __ATMEL_NAND_H__ */
+#endif /* __ATMEL_H__ */
Signature · 1 line
1.7.9.1
#10 lore raw

PATCH 5/11 blackfin: fix cmpxchg build fails from system.h fallout

In reply to Paul Gortmaker

Commit 3bed8d67469cc7129b0babc0211c32fa68408ce0

"Disintegrate asm/system.h for Blackfin [ver #2]"

introduced arch/blackfin/include/asm/cmpxchg.h but has it also including the asm-generic one which causes this:

CC arch/blackfin/kernel/asm-offsets.s
In file included from arch/blackfin/include/asm/cmpxchg.h:125:0,
from arch/blackfin/include/asm/atomic.h:10,
from include/linux/atomic.h:4,
from include/linux/spinlock.h:384,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/blackfin/kernel/asm-offsets.c:10:
include/asm-generic/cmpxchg.h:24:15: error: redefinition of '__xchg' arch/blackfin/include/asm/cmpxchg.h:82:29: note: previous definition of '__xchg' was here In file included from arch/blackfin/include/asm/atomic.h:10:0,
from include/linux/atomic.h:4,
from include/linux/spinlock.h:384,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/blackfin/kernel/asm-offsets.c:10:
arch/blackfin/include/asm/cmpxchg.h:129:0: warning: "xchg" redefined [enabled by default] include/asm-generic/cmpxchg.h:81:0: note: this is the location of the previous definition make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

It really only needs two simple defines from asm-generic, so just use those instead.

---
 arch/blackfin/include/asm/cmpxchg.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/blackfin/include/asm/cmpxchg.h +2 -1
index ba2484f..c05868c 100644
@@ -122,7 +122,8 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr,
 			(unsigned long)(n), sizeof(*(ptr))))
 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n))
 
-#include <asm-generic/cmpxchg.h>
+#define cmpxchg(ptr, o, n)	cmpxchg_local((ptr), (o), (n))
+#define cmpxchg64(ptr, o, n)	cmpxchg64_local((ptr), (o), (n))
 
 #endif /* !CONFIG_SMP */
 
Signature · 1 line
1.7.9.1
#12 lore raw

PATCH 6/11 parisc: fix missing cmpxchg file error from system.h split

In reply to Paul Gortmaker

Commit b4816afa3986704d1404fc48e931da5135820472

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the parisc arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

Some minor whitespace fixups were done on the block of code that created the new file.

Cc "James E.J. Bottomley" <[email protected]>
Cc Helge Deller <[email protected]>
---
 arch/parisc/include/asm/atomic.h  |  107 +---------------------------------
 arch/parisc/include/asm/cmpxchg.h |  116 +++++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+), 106 deletions(-)
 create mode 100644 arch/parisc/include/asm/cmpxchg.h
arch/parisc/include/asm/atomic.h +1 -106
index 3ae5607..6c6defc 100644
@@ -6,6 +6,7 @@
 #define _ASM_PARISC_ATOMIC_H_
 
 #include <linux/types.h>
+#include <asm/cmpxchg.h>
 
 /*
  * Atomic operations that C can't guarantee us.  Useful for
@@ -48,112 +49,6 @@ extern arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned;
 #  define _atomic_spin_unlock_irqrestore(l,f) do { local_irq_restore(f); } while (0)
 #endif
 
-/* This should get optimized out since it's never called.
-** Or get a link error if xchg is used "wrong".
-*/
-extern void __xchg_called_with_bad_pointer(void);
-
-
-/* __xchg32/64 defined in arch/parisc/lib/bitops.c */
-extern unsigned long __xchg8(char, char *);
-extern unsigned long __xchg32(int, int *);
-#ifdef CONFIG_64BIT
-extern unsigned long __xchg64(unsigned long, unsigned long *);
-#endif
-
-/* optimizer better get rid of switch since size is a constant */
-static __inline__ unsigned long
-__xchg(unsigned long x, __volatile__ void * ptr, int size)
-{
-	switch(size) {
-#ifdef CONFIG_64BIT
-	case 8: return __xchg64(x,(unsigned long *) ptr);
-#endif
-	case 4: return __xchg32((int) x, (int *) ptr);
-	case 1: return __xchg8((char) x, (char *) ptr);
-	}
-	__xchg_called_with_bad_pointer();
-	return x;
-}
-
-
-/*
-** REVISIT - Abandoned use of LDCW in xchg() for now:
-** o need to test sizeof(*ptr) to avoid clearing adjacent bytes
-** o and while we are at it, could CONFIG_64BIT code use LDCD too?
-**
-**	if (__builtin_constant_p(x) && (x == NULL))
-**		if (((unsigned long)p & 0xf) == 0)
-**			return __ldcw(p);
-*/
-#define xchg(ptr,x) \
-	((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
-
-
-#define __HAVE_ARCH_CMPXCHG	1
-
-/* bug catcher for when unsupported size is used - won't link */
-extern void __cmpxchg_called_with_bad_pointer(void);
-
-/* __cmpxchg_u32/u64 defined in arch/parisc/lib/bitops.c */
-extern unsigned long __cmpxchg_u32(volatile unsigned int *m, unsigned int old, unsigned int new_);
-extern unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new_);
-
-/* don't worry...optimizer will get rid of most of this */
-static __inline__ unsigned long
-__cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size)
-{
-	switch(size) {
-#ifdef CONFIG_64BIT
-	case 8: return __cmpxchg_u64((unsigned long *)ptr, old, new_);
-#endif
-	case 4: return __cmpxchg_u32((unsigned int *)ptr, (unsigned int) old, (unsigned int) new_);
-	}
-	__cmpxchg_called_with_bad_pointer();
-	return old;
-}
-
-#define cmpxchg(ptr,o,n)						 \
-  ({									 \
-     __typeof__(*(ptr)) _o_ = (o);					 \
-     __typeof__(*(ptr)) _n_ = (n);					 \
-     (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_,		 \
-				    (unsigned long)_n_, sizeof(*(ptr))); \
-  })
-
-#include <asm-generic/cmpxchg-local.h>
-
-static inline unsigned long __cmpxchg_local(volatile void *ptr,
-				      unsigned long old,
-				      unsigned long new_, int size)
-{
-	switch (size) {
-#ifdef CONFIG_64BIT
-	case 8:	return __cmpxchg_u64((unsigned long *)ptr, old, new_);
-#endif
-	case 4:	return __cmpxchg_u32(ptr, old, new_);
-	default:
-		return __cmpxchg_local_generic(ptr, old, new_, size);
-	}
-}
-
-/*
- * cmpxchg_local and cmpxchg64_local are atomic wrt current CPU. Always make
- * them available.
- */
-#define cmpxchg_local(ptr, o, n)				  	\
-	((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o),	\
-			(unsigned long)(n), sizeof(*(ptr))))
-#ifdef CONFIG_64BIT
-#define cmpxchg64_local(ptr, o, n)					\
-  ({									\
-	BUILD_BUG_ON(sizeof(*(ptr)) != 8);				\
-	cmpxchg_local((ptr), (o), (n));					\
-  })
-#else
-#define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n))
-#endif
-
 /*
  * Note that we need not lock read accesses - aligned word writes/reads
  * are atomic, so a reader never sees inconsistent values.
arch/parisc/include/asm/cmpxchg.h new file +116 -0

116 lines not on this page · raw message

Signature · 1 line
1.7.9.1
#14 lore raw

PATCH 7/11 sh: fix several build failures from system.h fallout

In reply to Paul Gortmaker

commit e839ca528718e68cad32a307dc9aabf01ef3eb05

"Disintegrate asm/system.h for SH"

created the new file asm/cache_insns.h but it didn't add an include for all the users of it.

The failure on fpu.c (also seen below) showed up roughly at the same time, and since the fix is trivial (include traps.h) I did not bother to bisect to 100% confirm it was caused by the system.h disintegration.

arch/sh/mm/flush-sh4.c:16:2: error: implicit declaration of function 'register_align' [-Werror=implicit-function-declaration] arch/sh/mm/flush-sh4.c:23:3: error: implicit declaration of function '__ocbwb' [-Werror=implicit-function-declaration] arch/sh/mm/flush-sh4.c:57:3: error: implicit declaration of function '__ocbp' [-Werror=implicit-function-declaration] arch/sh/mm/flush-sh4.c:87:3: error: implicit declaration of function '__ocbi' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[2]: *** [arch/sh/mm/flush-sh4.o] Error 1
arch/sh/mm/cache-sh4.c:70:3: error: implicit declaration of function '__ocbwb' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[2]: *** [arch/sh/mm/cache-sh4.o] Error 1
arch/sh/kernel/cpu/fpu.c:81:2: error: 'TRAP_HANDLER_DECL' undeclared (first use in this function) arch/sh/kernel/cpu/fpu.c:83:20: error: 'regs' undeclared (first use in this function) arch/sh/kernel/cpu/fpu.c:83:19: error: called object 'fpu_state_restore' is not a function
make[3]: *** [arch/sh/kernel/cpu/fpu.o] Error 1
arch/sh/kernel/cpu/sh4/fpu.c:407:2: error: 'TRAP_HANDLER_DECL' undeclared (first use in this function) arch/sh/kernel/cpu/sh4/fpu.c:409:20: error: 'regs' undeclared (first use in this function)
make[4]: *** [arch/sh/kernel/cpu/sh4/fpu.o] Error 1

---
 arch/sh/kernel/cpu/fpu.c     |    1 +
 arch/sh/kernel/cpu/sh4/fpu.c |    1 +
 arch/sh/mm/cache-sh4.c       |    1 +
 arch/sh/mm/flush-sh4.c       |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
arch/sh/kernel/cpu/fpu.c +1 -0
index 7f1b70c..07fb02f 100644
@@ -1,6 +1,7 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <asm/processor.h>
+#include <asm/traps.h>
 #include <asm/fpu.h>
 
 int init_fpu(struct task_struct *tsk)
arch/sh/kernel/cpu/sh4/fpu.c +1 -0
index e74cd6c..36538ff 100644
@@ -15,6 +15,7 @@
 #include <linux/io.h>
 #include <cpu/fpu.h>
 #include <asm/processor.h>
+#include <asm/traps.h>
 #include <asm/fpu.h>
 
 /* The PR (precision) bit in the FP Status Register must be clear when
arch/sh/mm/cache-sh4.c +1 -0
index 112fea1..c9667d9 100644
@@ -19,6 +19,7 @@
 #include <asm/pgtable.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
+#include <asm/cache_insns.h>
 
 /*
  * The maximum number of pages we support up to when doing ranged dcache
arch/sh/mm/flush-sh4.c +1 -0
index 75a17f5..59acd8a 100644
@@ -1,6 +1,7 @@
 #include <linux/mm.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
+#include <asm/cache_insns.h>
 #include <asm/traps.h>
 
 /*
Signature · 1 line
1.7.9.1
#22 lore raw

PATCH 8/11 frv: fix warnings in mb93090-mb00/pci-dma.c about implicit EXPORT_SYMBOL

In reply to Paul Gortmaker

To fix:

arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: data definition has no type or storage class [enabled by default] arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: parameter names (without types) in function declaration [enabled by default] arch/frv/mb93090-mb00/pci-dma.c:38:1: warning: data definition has no type or storage class [enabled by default]

---
 arch/frv/mb93090-mb00/pci-dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/frv/mb93090-mb00/pci-dma.c +1 -0
index 41098a3..4f8d8bc 100644
@@ -13,6 +13,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/list.h>
 #include <linux/pci.h>
+#include <linux/export.h>
 #include <linux/highmem.h>
 #include <linux/scatterlist.h>
 #include <asm/io.h>
Signature · 1 line
1.7.9.1
#25 lore raw

PATCH 10/11 tile: fix multiple build failures from system.h dismantle

In reply to Paul Gortmaker

Commit bd119c69239322caafdb64517a806037d0d0c70a

"Disintegrate asm/system.h for Tile"

created the asm/switch_to.h file, but did not add an include of it to all its users.

Also, commit b4816afa3986704d1404fc48e931da5135820472

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the tile arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

---
 arch/tile/include/asm/atomic.h  |   50 +-------------------------
 arch/tile/include/asm/cmpxchg.h |   73 +++++++++++++++++++++++++++++++++++++++
 arch/tile/kernel/process.c      |    1 +
 arch/tile/kernel/stack.c        |    1 +
 4 files changed, 77 insertions(+), 48 deletions(-)
 create mode 100644 arch/tile/include/asm/cmpxchg.h
arch/tile/include/asm/atomic.h +2 -48
index bb696da..f246142 100644
@@ -17,6 +17,8 @@
 #ifndef _ASM_TILE_ATOMIC_H
 #define _ASM_TILE_ATOMIC_H
 
+#include <asm/cmpxchg.h>
+
 #ifndef __ASSEMBLY__
 
 #include <linux/compiler.h>
@@ -121,54 +123,6 @@ static inline int atomic_read(const atomic_t *v)
  */
 #define atomic_add_negative(i, v)	(atomic_add_return((i), (v)) < 0)
 
-/* Nonexistent functions intended to cause link errors. */
-extern unsigned long __xchg_called_with_bad_pointer(void);
-extern unsigned long __cmpxchg_called_with_bad_pointer(void);
-
-#define xchg(ptr, x)							\
-	({								\
-		typeof(*(ptr)) __x;					\
-		switch (sizeof(*(ptr))) {				\
-		case 4:							\
-			__x = (typeof(__x))(typeof(__x-__x))atomic_xchg( \
-				(atomic_t *)(ptr),			\
-				(u32)(typeof((x)-(x)))(x));		\
-			break;						\
-		case 8:							\
-			__x = (typeof(__x))(typeof(__x-__x))atomic64_xchg( \
-				(atomic64_t *)(ptr),			\
-				(u64)(typeof((x)-(x)))(x));		\
-			break;						\
-		default:						\
-			__xchg_called_with_bad_pointer();		\
-		}							\
-		__x;							\
-	})
-
-#define cmpxchg(ptr, o, n)						\
-	({								\
-		typeof(*(ptr)) __x;					\
-		switch (sizeof(*(ptr))) {				\
-		case 4:							\
-			__x = (typeof(__x))(typeof(__x-__x))atomic_cmpxchg( \
-				(atomic_t *)(ptr),			\
-				(u32)(typeof((o)-(o)))(o),		\
-				(u32)(typeof((n)-(n)))(n));		\
-			break;						\
-		case 8:							\
-			__x = (typeof(__x))(typeof(__x-__x))atomic64_cmpxchg( \
-				(atomic64_t *)(ptr),			\
-				(u64)(typeof((o)-(o)))(o),		\
-				(u64)(typeof((n)-(n)))(n));		\
-			break;						\
-		default:						\
-			__cmpxchg_called_with_bad_pointer();		\
-		}							\
-		__x;							\
-	})
-
-#define tas(ptr) (xchg((ptr), 1))
-
 #endif /* __ASSEMBLY__ */
 
 #ifndef __tilegx__
arch/tile/include/asm/cmpxchg.h new file +73 -0

73 lines not on this page · raw message

arch/tile/kernel/process.c +1 -0
index 30caeca..ee01b1c 100644
@@ -28,6 +28,7 @@
 #include <linux/tracehook.h>
 #include <linux/signal.h>
 #include <asm/stack.h>
+#include <asm/switch_to.h>
 #include <asm/homecache.h>
 #include <asm/syscalls.h>
 #include <asm/traps.h>
arch/tile/kernel/stack.c +1 -0
index 37ee4d0..0be6b01 100644
@@ -25,6 +25,7 @@
 #include <asm/page.h>
 #include <asm/tlbflush.h>
 #include <asm/ucontext.h>
+#include <asm/switch_to.h>
 #include <asm/sigframe.h>
 #include <asm/stack.h>
 #include <arch/abi.h>
Signature · 1 line
1.7.9.1
#29 lore raw

PATCH 11/11 asm-generic: add linux/types.h to cmpxchg.h

In reply to Paul Gortmaker

Builds of the openrisc or1ksim_defconfig show the following:

In file included from arch/openrisc/include/generated/asm/cmpxchg.h:1:0,
from include/asm-generic/atomic.h:18,
from arch/openrisc/include/generated/asm/atomic.h:1, from include/linux/atomic.h:4,
from include/linux/dcache.h:4,
from fs/notify/fsnotify.c:19:
include/asm-generic/cmpxchg.h: In function '__xchg':
include/asm-generic/cmpxchg.h:34:20: error: expected ')' before 'u8' include/asm-generic/cmpxchg.h:34:20: warning: type defaults to 'int' in type name

and many more lines of similar errors. It seems specific to the or32 because most other platforms have an arch specific component that would have already included types.h ahead of time, but the o32 does not.

Cc Arnd Bergmann <[email protected]>
Cc Jonas Bonn <[email protected]>
---
 include/asm-generic/cmpxchg.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/asm-generic/cmpxchg.h +1 -0
index 8a36183..1488302 100644
@@ -10,6 +10,7 @@
 #error "Cannot use generic cmpxchg on SMP"
 #endif
 
+#include <linux/types.h>
 #include <linux/irqflags.h>
 
 #ifndef xchg
Signature · 1 line
1.7.9.1
#6 lore raw

PATCH 3/11 avr32: fix nop compile fails from system.h split up

In reply to Paul Gortmaker

To fix:

In file included from kernel/exit.c:61:
arch/avr32/include/asm/mmu_context.h: In function 'enable_mmu':
arch/avr32/include/asm/mmu_context.h:135: error: implicit declaration of function 'nop'

It needs an include of the new file created in:

commit ae473946586680b01c13975a3b674de23ad7c93e

"Disintegrate asm/system.h for AVR32"

---
 arch/avr32/include/asm/mmu_context.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/avr32/include/asm/mmu_context.h +1 -0
index 27ff234..f1b2fec 100644
@@ -14,6 +14,7 @@
 
 #include <asm/tlbflush.h>
 #include <asm/sysreg.h>
+#include <asm/special_insns.h>
 #include <asm-generic/mm_hooks.h>
 
 /*
Signature · 1 line
1.7.9.1
#24 lore raw

PATCH 9/11 firewire: restore the device.h include in linux/firewire.h

In reply to Paul Gortmaker

Commit 313162d0b83836e2f57e51b9b8650fb4b9c396ea

"device.h: audit and cleanup users in main include dir"

exchanged an include <linux/device.h> for a struct *device but in actuality I misread this file when creating 313162d and it should have remained an include.

There were no build regressions since all consumers were already getting device.h anyway, but make it right regardless.

---
 include/linux/firewire.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/linux/firewire.h +1 -2
index 4db7b68..cdc9b71 100644
@@ -2,6 +2,7 @@
 #define _LINUX_FIREWIRE_H
 
 #include <linux/completion.h>
+#include <linux/device.h>
 #include <linux/dma-mapping.h>
 #include <linux/kernel.h>
 #include <linux/kref.h>
@@ -64,8 +65,6 @@
 #define CSR_MODEL		0x17
 #define CSR_DIRECTORY_ID	0x20
 
-struct device;
-
 struct fw_csr_iterator {
 	const u32 *p;
 	const u32 *end;
Signature · 1 line
1.7.9.1
#32 lore raw
In reply to Paul Gortmaker

Hi Paul,

Quoted 12 lines · On Sun, 1 Apr 2012 16:38:36 -0400 Paul Gortmaker…

Like others, I was surprised it didn't get a soak in linux-next before being merged, but I guess what is done is done, so lets try and limit the fallout from having any wider of a commit range than it already does.

It is all system.h stuff except for three things.

1) an avr32 patch I'd created but the avr32 guys hadn't got signed keys yet, so I might as well get it in here along with other similar build fail fixes (the atmel one).

Quoted 7 lines

2) A cosmetic fix to the device.h changeset from me earlier.

3) A trivial warning fix to an arch/frv specific file.

I'm going to queue this up in my feed branch to linux-next so we can start reducing the number of build failures from what we had on Friday.

Thanks for all this. Please feed them to Linus as soon as sensible i.e. after you get some feedback from the affected arch maintainers etc. Maybe you should repost some of these with more cc's on them.

I look forward to less blood on the ground in today's linux-next builds :-)

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#15 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

In reply to Paul Gortmaker
Quoted 4 lines · Paul Gortmaker

commit e839ca528718e68cad32a307dc9aabf01ef3eb05

"Disintegrate asm/system.h for SH"

Quoted 8 lines

created the new file asm/cache_insns.h but it didn't add an include for all the users of it.

The failure on fpu.c (also seen below) showed up roughly at the same time, and since the fix is trivial (include traps.h) I did not bother to bisect to 100% confirm it was caused by the system.h disintegration.

There's still more, but they've alreadly all been fixed up in my tree.

#33 lore raw
In reply to Paul Gortmaker
Quoted 2 lines · Paul Gortmaker

Like others, I was surprised it didn't get a soak in linux-next before being merged

I don't think that would've helped - unless Linus took all of linux-next into his tree. The problem is that there were a substantial number of differences between Linus-vanilla and linux-next (obviously), even mid-window.

To be fair, Linus had to fix up my patch set to apply to his vanilla tree, but I did ask him to to pull the patches later in the merge window and hopefully give me a chance to fix them up again before he did so. But I suppose arch tree breakage was to be expected anyway in some arches.

However, I think the better way to have done this would've been to have the arch-specific patches go through the arch trees first (and, indeed, Blackfin did this and I was able to drop their patch from my set) - and then have the generic patches go at the end.

Even better might've been to add a #warning into each asm/system.h in this merge window and defer the final deletion to the next merge window.

David

Acked-by on v1 8/11
#23 lore raw

Re: [PATCH 08/11] frv: fix warnings in mb93090-mb00/pci-dma.c about implicit EXPORT_SYMBOL

In reply to Paul Gortmaker
Quoted 8 lines · Paul Gortmaker

To fix:

arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: data definition has no type or storage class [enabled by default] arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] arch/frv/mb93090-mb00/pci-dma.c:31:1: warning: parameter names (without types) in function declaration [enabled by default] arch/frv/mb93090-mb00/pci-dma.c:38:1: warning: data definition has no type or storage class [enabled by default]

Acked-by on v1 2/11
#4 lore raw

Re: [PATCH 02/11] ARM: mach-msm: fix compile fail from system.h fallout

In reply to Paul Gortmaker
Quoted 7 lines · Paul Gortmaker

To fix:

In file included from arm/boot/compressed/misc.c:28:0:
arm/mach-msm/include/mach/uncompress.h: In function 'putc':
arch/arm/mach-msm/include/mach/uncompress.h:48:3: error: implicit declaration of function 'smp_mb' [-Werror=implicit-function-declaration]

Quoted 8 lines

The putc does a cpu_relax which for this platform is smp_mb.

Bisect indicates the 1st failing commit as:

    commit 0195c00244dc2e9f522475868fa278c473ba7339
    "Merge tag 'split-asm_system_h-for-linus-20120328' ..."
Acked-by on v1 1/11
#2 lore raw

Re: [PATCH 01/11] irq_work: fix compile failure on MIPS from system.h split

In reply to Paul Gortmaker
Quoted 13 lines · Paul Gortmaker

Builds of the MIPS platform ip32_defconfig fails as of commit 0195c00244dc2e9f522475868fa278c473ba7339

    "Merge tag 'split-asm_system_h-for-linus-20120328' ..."

because MIPS xchg() macro uses BUILD_BUG_ON and it was moved in commit b81947c646bfefdf98e2fde5d7d39cbbda8525d4

"Disintegrate asm/system.h for MIPS"

The root cause is that the system.h split wasn't tested on a baseline with commit 6c03438edeb5c359af35f060ea016ca65671c269

Quoted 6 lines

"kernel.h: doesn't explicitly use bug.h, so don't include it."

Since this file uses BUG code in several other places besides the xchg call, simply make the inclusion explicit.

#7 lore raw

Re: [PATCH 03/11] avr32: fix nop compile fails from system.h split up

In reply to Paul Gortmaker
Quoted 6 lines · Paul Gortmaker

To fix:

In file included from kernel/exit.c:61:
arch/avr32/include/asm/mmu_context.h: In function 'enable_mmu':
arch/avr32/include/asm/mmu_context.h:135: error: implicit declaration of function 'nop'

Better would be to move the definition of nop() into asm/barrier.h to be consistent with other arches.

David

Acked-by on v1 5/11
#11 lore raw

Re: [PATCH 05/11] blackfin: fix cmpxchg build fails from system.h fallout

In reply to Paul Gortmaker
Quoted 31 lines · Paul Gortmaker

Commit 3bed8d67469cc7129b0babc0211c32fa68408ce0

"Disintegrate asm/system.h for Blackfin [ver #2]"

introduced arch/blackfin/include/asm/cmpxchg.h but has it also including the asm-generic one which causes this:

CC arch/blackfin/kernel/asm-offsets.s
In file included from arch/blackfin/include/asm/cmpxchg.h:125:0,
from arch/blackfin/include/asm/atomic.h:10,
from include/linux/atomic.h:4,
from include/linux/spinlock.h:384,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/blackfin/kernel/asm-offsets.c:10:
include/asm-generic/cmpxchg.h:24:15: error: redefinition of '__xchg' arch/blackfin/include/asm/cmpxchg.h:82:29: note: previous definition of '__xchg' was here In file included from arch/blackfin/include/asm/atomic.h:10:0,
from include/linux/atomic.h:4,
from include/linux/spinlock.h:384,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/blackfin/kernel/asm-offsets.c:10:
arch/blackfin/include/asm/cmpxchg.h:129:0: warning: "xchg" redefined [enabled by default] include/asm-generic/cmpxchg.h:81:0: note: this is the location of the previous definition make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

Quoted 6 lines

It really only needs two simple defines from asm-generic, so just use those instead.

Acked-by on v1 6/11
#13 lore raw

Re: [PATCH 06/11] parisc: fix missing cmpxchg file error from system.h split

In reply to Paul Gortmaker
Quoted 8 lines · Paul Gortmaker

Commit b4816afa3986704d1404fc48e931da5135820472

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the parisc arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

Quoted 6 lines

Some minor whitespace fixups were done on the block of code that created the new file.

Cc "James E.J. Bottomley" <[email protected]>
Cc Helge Deller <[email protected]>
Acked-by on v1 10/11
#26 lore raw

Re: [PATCH 10/11] tile: fix multiple build failures from system.h dismantle

In reply to Paul Gortmaker
Quoted 9 lines · Paul Gortmaker

Commit bd119c69239322caafdb64517a806037d0d0c70a

"Disintegrate asm/system.h for Tile"

created the asm/switch_to.h file, but did not add an include of it to all its users.

Also, commit b4816afa3986704d1404fc48e931da5135820472

Quoted 8 lines

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the tile arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

Acked-by on v1 11/11
#30 lore raw

Re: [PATCH 11/11] asm-generic: add linux/types.h to cmpxchg.h

In reply to Paul Gortmaker
Quoted 12 lines · Paul Gortmaker

Builds of the openrisc or1ksim_defconfig show the following:

In file included from arch/openrisc/include/generated/asm/cmpxchg.h:1:0,
from include/asm-generic/atomic.h:18,
from arch/openrisc/include/generated/asm/atomic.h:1, from include/linux/atomic.h:4,
from include/linux/dcache.h:4,
from fs/notify/fsnotify.c:19:
include/asm-generic/cmpxchg.h: In function '__xchg':
include/asm-generic/cmpxchg.h:34:20: error: expected ')' before 'u8' include/asm-generic/cmpxchg.h:34:20: warning: type defaults to 'int' in type name

Quoted 7 lines

and many more lines of similar errors. It seems specific to the or32 because most other platforms have an arch specific component that would have already included types.h ahead of time, but the o32 does not.

Cc Arnd Bergmann <[email protected]>
Cc Jonas Bonn <[email protected]>
#27 lore raw

Re: [PATCH 10/11] tile: fix multiple build failures from system.h dismantle

In reply to David Howells
Quoted 13 lines · David Howells
Quoted 11 lines · Paul Gortmaker

Commit bd119c69239322caafdb64517a806037d0d0c70a

"Disintegrate asm/system.h for Tile"

created the asm/switch_to.h file, but did not add an include of it to all its users.

Also, commit b4816afa3986704d1404fc48e931da5135820472

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

Quoted 7 lines
Quoted 6 lines

introduced the concept of asm/cmpxchg.h but the tile arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

Thanks! I can push this through the tile tree along with some other bug-fix changes for -rc2.

Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com
#28 lore raw

Re: [PATCH 10/11] tile: fix multiple build failures from system.h dismantle

Quoted 18 lines · Chris Metcalf
Quoted 17 lines · David Howells
Quoted 15 lines · Paul Gortmaker

Commit bd119c69239322caafdb64517a806037d0d0c70a

"Disintegrate asm/system.h for Tile"

created the asm/switch_to.h file, but did not add an include of it to all its users.

Also, commit b4816afa3986704d1404fc48e931da5135820472

"Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the tile arch never got one. Fork the cmpxchg content out of the asm/atomic.h file to create one.

Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

Thanks! I can push this through the tile tree along with some other bug-fix changes for -rc2.

Perfect. I see you have a tree in linux-next, so I'll drop it from my series here without having to worry about reintroducing the build failure.

Thanks.
Paul.

Quoted 1 line
#16 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

In reply to Paul Mundt
Quoted 8 lines · Paul Mundt
Quoted 7 lines · Paul Gortmaker

commit e839ca528718e68cad32a307dc9aabf01ef3eb05

"Disintegrate asm/system.h for SH"

created the new file asm/cache_insns.h but it didn't add an include for all the users of it.

Quoted 6 lines
Quoted 5 lines

The failure on fpu.c (also seen below) showed up roughly at the same time, and since the fix is trivial (include traps.h) I did not bother to bisect to 100% confirm it was caused by the system.h disintegration.

There's still more, but they've alreadly all been fixed up in my tree.

OK, I can drop this one. Is that tree part of linux-next?

Thanks,
Paul.

#8 lore raw

Re: [PATCH 03/11] avr32: fix nop compile fails from system.h split up

In reply to David Howells
Quoted 11 lines · David Howells
Quoted 6 lines · Paul Gortmaker

To fix:

In file included from kernel/exit.c:61:
arch/avr32/include/asm/mmu_context.h: In function 'enable_mmu':
arch/avr32/include/asm/mmu_context.h:135: error: implicit declaration of function 'nop'

Better would be to move the definition of nop() into asm/barrier.h to be consistent with other arches.

That does seem to make sense. But just to confirm, then I'd end up deleting the new file, arch/avr32/include/asm/special_insns.h

------------
commit ae473946586680b01c13975a3b674de23ad7c93e

Author: David Howells <[email protected]>
Date:   Wed Mar 28 18:30:01 2012 +0100

Disintegrate asm/system.h for AVR32

Disintegrate asm/system.h for AVR32. This has not been compiled at all.

cc Haavard Skinnemoen <[email protected]>

:000000 100644 0000000... f922218... A arch/avr32/include/asm/special_insns.h
------------

...since it only contains the nop definition.

Is that what you had in mind, or is some other content going to be moved there at a later time?

Thanks,
Paul.

Quoted 2 lines

David

Acked-by on v1 2/11
#5 lore raw

Re: [PATCH 02/11] ARM: mach-msm: fix compile fail from system.h fallout

In reply to Paul Gortmaker

arch/arm/mach-msm/include/mach/uncompress.h

Quoted 1 line · Paul Gortmaker
arch/arm/mach-msm/include/mach/uncompress.h +0 -0
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#17 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

In reply to Paul Gortmaker
Quoted 6 lines · On Mon, 2 Apr 2012 14:15:53 -0400 Paul Gortmaker…
Quoted 1 line · Paul Mundt

There's still more, but they've alreadly all been fixed up in my tree.

OK, I can drop this one. Is that tree part of linux-next?

I used to have sh-current and sh trees (and rmobile-current and rmobile) trees in linux-next, but they have not been resurrected since the kernel.org problems last year ...

They were all branches of
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git which is still listed in MAINTAINERS but does not exist :-(

Paul M, to you have an alternate place I can fetch from?

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#18 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

Quoted 20 lines · Stephen Rothwell
Quoted 6 lines · On Mon, 2 Apr 2012 14:15:53 -0400 Paul Gortmaker…
Quoted 1 line · Paul Mundt

There's still more, but they've alreadly all been fixed up in my tree.

OK, I can drop this one.  Is that tree part of linux-next?

I used to have sh-current and sh trees (and rmobile-current and rmobile) trees in linux-next, but they have not been resurrected since the kernel.org problems last year ...

They were all branches of
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git which is still listed in MAINTAINERS but does not exist :-(

Paul M, to you have an alternate place I can fetch from? --
Cheers,
Stephen Rothwell                    [email protected]

#19 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

In reply to Stephen Rothwell

[sorry for empty mail, pilot error]

Quoted 10 lines · Stephen Rothwell

I used to have sh-current and sh trees (and rmobile-current and rmobile) trees in linux-next, but they have not been resurrected since the kernel.org problems last year ...

They were all branches of
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git which is still listed in MAINTAINERS but does not exist :-(

Paul M, to you have an alternate place I can fetch from?

Hi Paul M.

Is this the tree Stephen should be using in linux-next?

git://github.com/pmundt/linux-sh.git sh-latest

Thanks,
Paul G.

Quoted 3 lines

--
Cheers,
Stephen Rothwell                    [email protected]

#20 lore raw

Re: [PATCH 07/11] sh: fix several build failures from system.h fallout

Quoted 13 lines · Paul Gortmaker

[sorry for empty mail, pilot error]

Quoted 9 lines · Stephen Rothwell

I used to have sh-current and sh trees (and rmobile-current and rmobile) trees in linux-next, but they have not been resurrected since the kernel.org problems last year ...

They were all branches of
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git which is still listed in MAINTAINERS but does not exist :-(

Quoted 8 lines
Quoted 1 line

Paul M, to you have an alternate place I can fetch from?

Hi Paul M.

Is this the tree Stephen should be using in linux-next?

git://github.com/pmundt/linux-sh.git sh-latest

Yes, that's the current one for sh stuff for now. The rmobile stuff is going through the ARM SoC tree nowadays, so that shouldn't matter. I haven't bothered getting the trees back on kernel.org yet, so I haven't updated the MAINTAINERS entry, but will probably do so in the future.

Applied
#31 lore raw

Re: [PATCH 11/11] asm-generic: add linux/types.h to cmpxchg.h

In reply to Paul Gortmaker

Thanks, applied.
Will send this upstream via the openrisc tree.
/Jonas

Quoted 35 lines · Paul Gortmaker

Builds of the openrisc or1ksim_defconfig show the following:

In file included from arch/openrisc/include/generated/asm/cmpxchg.h:1:0,
from include/asm-generic/atomic.h:18,
from arch/openrisc/include/generated/asm/atomic.h:1, from include/linux/atomic.h:4,
from include/linux/dcache.h:4,
from fs/notify/fsnotify.c:19:
include/asm-generic/cmpxchg.h: In function '__xchg':
include/asm-generic/cmpxchg.h:34:20: error: expected ')' before 'u8' include/asm-generic/cmpxchg.h:34:20: warning: type defaults to 'int' in type name

and many more lines of similar errors. It seems specific to the or32 because most other platforms have an arch specific component that would have already included types.h ahead of time, but the o32 does not.

Cc Arnd Bergmann <[email protected]>
Cc Jonas Bonn <[email protected]>
---
 include/asm-generic/cmpxchg.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/asm-generic/cmpxchg.h +1 -0
index 8a36183..1488302 100644
@@ -10,6 +10,7 @@
 #error "Cannot use generic cmpxchg on SMP"
 #endif
 
+#include <linux/types.h>
 #include <linux/irqflags.h>
 
 #ifndef xchg
#21 lore raw

linux-next: sh tree (Was:Re: [PATCH 07/11] sh: fix several build failures from system.h fallout)

In reply to Paul Mundt

Hi Paul,

Quoted 11 lines · On Fri, 6 Apr 2012 00:15:59 +0900 Paul Mundt <[email protected]> wrote:
Quoted 4 lines · Paul Gortmaker

Is this the tree Stephen should be using in linux-next?

git://github.com/pmundt/linux-sh.git sh-latest

Yes, that's the current one for sh stuff for now. The rmobile stuff is going through the ARM SoC tree nowadays, so that shouldn't matter. I haven't bothered getting the trees back on kernel.org yet, so I haven't updated the MAINTAINERS entry, but will probably do so in the future.

OK, I have added that back - using the sh-latest branch for the sh tree and the sh-fixes-for-linus branch for sh-current (maybe the sh/urgent branch would be better?).

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]