All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Wen-chien Jesse Sung <jesse@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n
Date: Sat, 01 Oct 2005 12:27:22 +0200	[thread overview]
Message-ID: <433E648A.1050203@domain.hid> (raw)
In-Reply-To: <433D1E21.70005@domain.hid>

Wen-chien Jesse Sung wrote:
> Hi,
> 
> When ipipe is disabled, ipipe_reset_stats() is not defined, but it is
> still referenced in init/main.c:rest_init().
> 
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> init/built-in.o: In function `rest_init':
> : undefined reference to `ipipe_reset_stats'
> make: *** [.tmp_vmlinux1] Error 1
> 

This one was already in my log; thanks anyway.

> 
> 
> ------------------------------------------------------------------------
> 
> Index: linux-2.6.13-js1/include/linux/ipipe.h
> ===================================================================
> --- linux-2.6.13-js1.orig/include/linux/ipipe.h	2005-09-30 14:53:01.000000000 +0800
> +++ linux-2.6.13-js1/include/linux/ipipe.h	2005-09-30 18:56:32.000000000 +0800
> @@ -702,6 +702,8 @@
>  #define ipipe_irq_lock(irq)	do { } while(0)
>  #define ipipe_irq_unlock(irq)	do { } while(0)
>  
> +#define ipipe_reset_stats()	do { } while(0)
> +
>  #endif	/* CONFIG_IPIPE */
>  
>  #endif	/* !__LINUX_IPIPE_H */
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Adeos-main mailing list
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main


-- 

Philippe.


      reply	other threads:[~2005-10-01 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 11:14 [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n Wen-chien Jesse Sung
2005-10-01 10:27 ` Philippe Gerum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433E648A.1050203@domain.hid \
    --to=rpm@xenomai.org \
    --cc=adeos-main@gna.org \
    --cc=jesse@domain.hid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.