Article [#4613] Build kgdb failed in BF561-EZKIT with SMP patch

[#4613] Build kgdb failed in BF561-EZKIT with SMP patch

Submitted By: Vivi Li

Open Date

2008-11-06 03:06:35     Close Date

2008-11-11 01:50:33

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: Build kgdb failed in BF561-EZKIT with SMP patch

Details:

Build kgdb failed in BF561-EZKIT with SMP patch.

--

  CC      arch/blackfin/kernel/kgdb.o^M

  CC      kernel/fork.o^M

arch/blackfin/kernel/kgdb.c: In function ‘kgdb_roundup_cpus’:^M

arch/blackfin/kernel/kgdb.c:366: error: too many arguments to function ‘smp_call_function’^M

arch/blackfin/kernel/kgdb.c: In function ‘kgdb_roundup_cpu’:^M

arch/blackfin/kernel/kgdb.c:371: error: too many arguments to function ‘smp_call_function_single’^M

arch/blackfin/kernel/kgdb.c: In function ‘kgdb_mem2hex’:^M

arch/blackfin/kernel/kgdb.c:592: warning: suggest parentheses around && within ||^M

arch/blackfin/kernel/kgdb.c: In function ‘kgdb_ebin2mem’:^M

arch/blackfin/kernel/kgdb.c:668: warning: suggest parentheses around && within ||^M

arch/blackfin/kernel/kgdb.c: In function ‘kgdb_hex2mem’:^M

arch/blackfin/kernel/kgdb.c:733: warning: suggest parentheses around && within ||^M

make[2]: *** [arch/blackfin/kernel/kgdb.o] Error 1^M

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

make[1]: *** Waiting for unfinished jobs....^M

--

Follow-ups

--- Graf Yang                                                2008-11-09 22:09:44

The parameters of smp_call_function() have changed. Now is fixed.

--- Vivi Li                                                  2008-11-11 01:50:33

OK now. Close it.

Thanks!

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.