projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc0782
)
powerpc/prom_init: drop PROM_BUG()
author
David Hildenbrand
<david@redhat.com>
Tue, 20 Sep 2022 12:23:01 +0000
(14:23 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:18 +0000
(20:58 +1000)
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
arch/powerpc/kernel/prom_init.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/prom_init.c
b/arch/powerpc/kernel/prom_init.c
index a6669c40c1dbec3789b194198ea8a0b9dd56a114..d464ba412084d10e5d4d7cd9dd27485a1c556aca 100644
(file)
--- 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