android_kernel_xiaomi_sm8350/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
..
fault.c During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
generic.c
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
Makefile
tlb.c
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