WSL2-Linux-Kernel/arch/sparc64/mm
David S. Miller 7e5766fa94 [SPARC64]: Fix build failure when CONFIG_BUG is disabled.
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>
2007-10-31 15:30:52 -07:00
..
Makefile [SPARC64]: Move away from virtual page tables, part 1. 2006-03-20 01:11:13 -08:00
fault.c During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
generic.c [SPARC64]: Fix X server hangs due to large pages. 2006-08-29 21:23:31 -07:00
hugetlbpage.c hugepage: fix broken check for offset alignment in hugepage mappings 2007-08-31 01:42:23 -07:00
init.c [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
tlb.c [SPARC64]: Disable preemption during flush_tlb_pending(). 2006-04-30 22:54:27 -07:00
tsb.c [SPARC64]: Fix build failure when CONFIG_BUG is disabled. 2007-10-31 15:30:52 -07:00
ultra.S [SPARC64]: Kill unused ITAG_MASK macro in ultra.S 2007-10-31 15:30:51 -07:00