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.
This commit is contained in:
Justin Hibbits 2019-07-21 03:19:54 +00:00
parent 967d9fa3bb
commit b982c7ee20

View File

@ -545,7 +545,6 @@ slb_free_user_cache(struct slb **slb)
uma_zfree(slb_cache_zone, slb); uma_zfree(slb_cache_zone, slb);
} }
#if defined(__powerpc64__)
/* Handle kernel SLB faults -- runs in real mode, all seat belts off */ /* Handle kernel SLB faults -- runs in real mode, all seat belts off */
void void
handle_kernel_slb_spill(int type, register_t dar, register_t srr0) 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); return (0);
} }
#endif