kernel-ark/arch/powerpc
Andy Whitcroft 7a45fb19ce [PATCH] powerpc: oprofile cpu type names clash with other code
In 2.6.15-git6 a change was commited in the oprofile support in
the powerpc architecture.  It introduced the powerpc_oprofile_type
which contains the define G4.  This causes a name clash with the
existing wacom usb tablet driver.

      CC [M]  drivers/usb/input/wacom.o
    drivers/usb/input/wacom.c:98: error: conflicting types for `G4'
    include/asm/cputable.h:37: error: previous declaration of `G4'
      CC [M]  drivers/usb/mon/mon_text.o
    make[3]: *** [drivers/usb/input/wacom.o] Error 1
    make[2]: *** [drivers/usb/input] Error 2

The elements of an enum declared in global scope are effectivly
global identifiers themselves.  As such we need to ensure the names
are unique.  This patch updates the later oprofile support to use
unique names.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-14 11:12:16 +11:00
..
boot [PATCH] powerpc: Fix clean_files in arch/powerpc/boot Makefile 2006-01-11 16:28:13 +11:00
configs [PATCH] enable the RTC driver in ppc64_defconfig 2006-01-11 14:47:13 +11:00
kernel [PATCH] powerpc: oprofile cpu type names clash with other code 2006-01-14 11:12:16 +11:00
lib [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
mm [PATCH] powerpc: IOMMU: don't ioremap null addresses 2006-01-10 15:30:31 +11:00
oprofile [PATCH] powerpc: oprofile cpu type names clash with other code 2006-01-14 11:12:16 +11:00
platforms [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
sysdev [PATCH] powerpc: minor dart driver cleanup 2006-01-12 20:39:13 +11:00
xmon [PATCH] powerpc: xmon namespace cleanups 2006-01-12 20:39:14 +11:00
Kconfig [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile [PATCH] powerpc/boot: Better use of defaultimage- 2006-01-13 21:14:28 +11:00