[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877d1w2844.fsf@mpe.ellerman.id.au>
Date: Wed, 21 Sep 2022 23:02:35 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: David Hildenbrand <david@...hat.com>, linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, linux-doc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org,
David Hildenbrand <david@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
David Laight <David.Laight@...LAB.COM>,
Jonathan Corbet <corbet@....net>,
Andy Whitcroft <apw@...onical.com>,
Joe Perches <joe@...ches.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Baoquan He <bhe@...hat.com>, Vivek Goyal <vgoyal@...hat.com>,
Dave Young <dyoung@...hat.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>
Subject: Re: [PATCH v1 2/3] powerpc/prom_init: drop PROM_BUG()
David Hildenbrand <david@...hat.com> writes:
> Unused, let's drop it.
>
> Signed-off-by: David Hildenbrand <david@...hat.com>
> ---
> arch/powerpc/kernel/prom_init.c | 6 ------
> 1 file changed, 6 deletions(-)
Thanks. I'll take this one via the powerpc tree, and the others can go
via wherever?
cheers
> diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
> index a6669c40c1db..d464ba412084 100644
> --- a/arch/powerpc/kernel/prom_init.c
> +++ b/arch/powerpc/kernel/prom_init.c
> @@ -96,12 +96,6 @@ static int of_workarounds __prombss;
> #define OF_WA_CLAIM 1 /* do phys/virt claim separately, then map */
> #define OF_WA_LONGTRAIL 2 /* work around longtrail bugs */
>
> -#define PROM_BUG() do { \
> - prom_printf("kernel BUG at %s line 0x%x!\n", \
> - __FILE__, __LINE__); \
> - __builtin_trap(); \
> -} while (0)
> -
> #ifdef DEBUG_PROM
> #define prom_debug(x...) prom_printf(x)
> #else
> --
> 2.37.3
Powered by blists - more mailing lists