lkml.org 
[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] cris: add missing declaration of kgdb_init() and breakpoint()
On Sun, 22 May 2011 22:42:56 +0800
Am__rico Wang <xiyou.wangcong@gmail.com> wrote:

> --- a/arch/cris/arch-v10/kernel/irq.c
> +++ b/arch/cris/arch-v10/kernel/irq.c
> @@ -20,6 +20,9 @@
> #define crisv10_mask_irq(irq_nr) (*R_VECT_MASK_CLR = 1 << (irq_nr));
> #define crisv10_unmask_irq(irq_nr) (*R_VECT_MASK_SET = 1 << (irq_nr));
>
> +extern void kgdb_init(void);
> +extern void breakpoint(void);

They should be declared in a header file, please.
arch/cris/arch-v32/kernel/irq.c has a private declaration of
kgdb_init(), too.



\
 
 \ /
  Last update: 2011-06-02 00:19    [W:0.061 / U:3.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site