mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:36:40 +07:00
7e5766fa94
When CONFIG_BUG is turned off, the standard trick of: switch (x) { case X: ... case Y: ... default: BUG(); }; to mark impossible cases does not work because BUG() evalutes to nothing and thus GCC just sees a fallthrough code path. Add an explicit KERN_ERR log message and a do_exit() to trap this case. Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
fault.c | ||
generic.c | ||
hugetlbpage.c | ||
init.c | ||
Makefile | ||
tlb.c | ||
tsb.c | ||
ultra.S |