[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2016 16:36:47 -0400
From: Chris Metcalf <cmetcalf@...lanox.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
kbuild test robot <fengguang.wu@...el.com>
CC: <kbuild-all@...org>, <linux-kernel@...r.kernel.org>,
Dan Williams <dan.j.williams@...el.com>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: undefined reference to `early_panic'
On 6/6/2016 4:31 PM, Andrew Morton wrote:
> On Sun, 5 Jun 2016 12:33:29 +0800 kbuild test robot <fengguang.wu@...el.com> wrote:
>
>> [...]
>>
>> arch/tile/built-in.o: In function `setup_arch':
>>>> (.init.text+0x15d8): undefined reference to `early_panic'
>>
> This?
>
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: tile: early_printk.o is always required
>
> arch/tile/setup.o is always compiled, and it requires early_panic() and
> hence early_printk(), so we must always build and link early_printk.o.
>
> [...]
>
> diff -puN arch/tile/Kconfig~tile-early_printko-is-always-required arch/tile/Kconfig
> --- a/arch/tile/Kconfig~tile-early_printko-is-always-required
> +++ a/arch/tile/Kconfig
> @@ -14,6 +14,7 @@ config TILE
> select GENERIC_FIND_FIRST_BIT
> select GENERIC_IRQ_PROBE
> select GENERIC_IRQ_SHOW
> + select EARLY_PRINTK
> select GENERIC_PENDING_IRQ if SMP
> select GENERIC_STRNCPY_FROM_USER
> select GENERIC_STRNLEN_USER
Seems plausible; thanks.
Acked-by: Chris Metcalf <cmetcalf@...lanox.com>
--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com
Powered by blists - more mailing lists