2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/arch
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
..
alpha [PATCH] alpha: task_pt_regs() 2006-01-12 09:08:50 -08:00
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-01-12 12:23:49 -08:00
arm26 [PATCH] arm26: task_stack_page() 2006-01-12 09:08:57 -08:00
cris [PATCH] cris: task_thread_info() 2006-01-12 09:08:58 -08:00
frv [PATCH] frv: task_thread_info(), task_stack_page() 2006-01-12 09:08:54 -08:00
h8300 [PATCH] h8300: task_stack_page() 2006-01-12 09:08:55 -08:00
i386 [PATCH] i386: task_stack_page() 2006-01-12 09:08:52 -08:00
ia64 [PATCH] ia64: task_pt_regs() 2006-01-12 09:08:58 -08:00
m32r [PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info() 2006-01-12 09:08:54 -08:00
m68k [PATCH] m68k: console code in head.S needs framebuffer support built in 2006-01-12 09:09:06 -08:00
m68knommu [PATCH] m68knommu: task_stack_page() 2006-01-12 09:08:55 -08:00
mips [PATCH] mips: task_stack_page() 2006-01-12 09:08:59 -08:00
parisc [PATCH] parisc: task_stack_page(), task_thread_info() 2006-01-12 09:08:55 -08:00
powerpc [PATCH] powerpc: oprofile cpu type names clash with other code 2006-01-14 11:12:16 +11:00
ppc [PATCH] powerpc: Updated platforms that use gianfar to match driver 2006-01-13 21:16:18 +11:00
s390 [PATCH] s390: task_stack_page() 2006-01-12 09:08:54 -08:00
sh [PATCH] sh: task_stack_page() 2006-01-12 09:08:53 -08:00
sh64 [PATCH] sh64: task_stack_page() 2006-01-12 09:08:57 -08:00
sparc [PATCH] sparc: task_stack_page() 2006-01-12 09:08:53 -08:00
sparc64 [PATCH] sparc64: task_pt_regs() 2006-01-12 09:08:52 -08:00
um [PATCH] uml: task_stack_page() 2006-01-12 09:08:53 -08:00
v850 [PATCH] v850: task_stack_page(), task_pt_regs() 2006-01-12 09:08:54 -08:00
x86_64 [PATCH] amd64: task_stack_page() 2006-01-12 09:08:51 -08:00
xtensa [PATCH] xtensa: task_pt_regs(), task_stack_page() 2006-01-12 09:08:54 -08:00