* [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n
@ 2005-09-30 11:14 Wen-chien Jesse Sung
2005-10-01 10:27 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Wen-chien Jesse Sung @ 2005-09-30 11:14 UTC (permalink / raw)
To: adeos-main
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
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
--
Best Regards,
Wen-chien Jesse Sung
[-- Attachment #2: 31_adeos-compilation-with-ipipe-disabled.patch --]
[-- Type: text/x-patch, Size: 498 bytes --]
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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n
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
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-10-01 10:27 UTC (permalink / raw)
To: Wen-chien Jesse Sung; +Cc: adeos-main
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-01 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.