[#4187] build oprofile kernel failed in SMP kernel

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4187] build oprofile kernel failed in SMP kernel

Submitted By: Vivi Li

Open Date

2008-06-23 04:54:54     Close Date

2008-06-24 21:49:34

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

08r1.5-11

App binary format:

N/A     

Summary: build oprofile kernel failed in SMP kernel

Details:

 

Build kernel with oprofile driver failed in SMP kernel.

 

--

  CC      arch/blackfin/oprofile/../../../drivers/oprofile/oprof.o^M

In file included from arch/blackfin/oprofile/../../../drivers/oprofile/event_buffer.h:14,^M

                 from arch/blackfin/oprofile/../../../drivers/oprofile/oprof.c:18:^M

include/asm/mutex.h:18: error: redefinition of ‘__mutex_fastpath_lock’^M

include/asm/mutex.h:18: error: previous definition of ‘__mutex_fastpath_lock’ was here^M

include/asm/mutex.h:27: error: redefinition of ‘__mutex_fastpath_lock_retval’^M

include/asm/mutex.h:27: error: previous definition of ‘__mutex_fastpath_lock_retval’ was here^M

include/asm/mutex.h:38: error: redefinition of ‘__mutex_fastpath_unlock’^M

include/asm/mutex.h:38: error: previous definition of ‘__mutex_fastpath_unlock’ was here^M

include/asm/mutex.h:48: error: redefinition of ‘__mutex_fastpath_trylock’^M

include/asm/mutex.h:48: error: previous definition of ‘__mutex_fastpath_trylock’ was here^M

make[2]: *** [arch/blackfin/oprofile/../../../drivers/oprofile/oprof.o] Error 1^M

make[1]: *** [arch/blackfin/oprofile] Error 2^M

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make: *** [linux] Error 1^M

--

 

Follow-ups

 

--- Vivi Li                                                  2008-06-24 22:49:35

It's OK now. Close it.

Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes