Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2019 03:19:54 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350190 - head/sys/powerpc/aim
Message-ID:  <201907210319.x6L3Js75035762@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907210319.x6L3Js75035762>