mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 03:44:27 +08:00
powerpc/prom_init: drop PROM_BUG()
Unused, let's drop it. Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220920122302.99195-3-david@redhat.com
This commit is contained in:
parent
6cc07821ad
commit
c4167aec98
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user