svn commit: r350190 - head/sys/powerpc/aim

Justin Hibbits jhibbits at FreeBSD.org
Sun Jul 21 03:19:55 UTC 2019


Author: jhibbits
Date: Sun Jul 21 03:19:54 2019
New Revision: 350190
URL: https://svnweb.freebsd.org/changeset/base/350190

Log:
  powerpc: Remove an unnecessary #ifdef guard from slb.c
  
  slb.c is only compiled for powerpc64, so no need for the #ifdef in this block.

Modified:
  head/sys/powerpc/aim/slb.c

Modified: head/sys/powerpc/aim/slb.c
==============================================================================
--- head/sys/powerpc/aim/slb.c	Sun Jul 21 00:47:06 2019	(r350189)
+++ head/sys/powerpc/aim/slb.c	Sun Jul 21 03:19:54 2019	(r350190)
@@ -545,7 +545,6 @@ slb_free_user_cache(struct slb **slb)
 	uma_zfree(slb_cache_zone, slb);
 }
 
-#if defined(__powerpc64__)
 /* Handle kernel SLB faults -- runs in real mode, all seat belts off */
 void
 handle_kernel_slb_spill(int type, register_t dar, register_t srr0)
@@ -626,4 +625,3 @@ handle_user_slb_spill(pmap_t pm, vm_offset_t addr)
 
 	return (0);
 }
-#endif


More information about the svn-src-all mailing list