--- old/usr/src/uts/sun4v/ml/hcall.s	Fri Feb 28 06:16:02 2020
+++ new/usr/src/uts/sun4v/ml/hcall.s	Fri Feb 28 06:16:02 2020
@@ -32,341 +32,6 @@
 #include <sys/machparam.h>
 #include <sys/hypervisor_api.h>
 
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-uint64_t
-hv_mach_exit(uint64_t exit_code)
-{ return (0); }
-
-uint64_t
-hv_mach_sir(void)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_cpu_start(uint64_t cpuid, uint64_t pc, uint64_t rtba, uint64_t arg)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_cpu_stop(uint64_t cpuid)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_cpu_set_rtba(uint64_t *rtba)
-{ return (0); }
-
-/*ARGSUSED*/
-int64_t
-hv_cnputchar(uint8_t ch)
-{ return (0); }
-
-/*ARGSUSED*/
-int64_t
-hv_cngetchar(uint8_t *ch)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_tod_get(uint64_t *seconds)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_tod_set(uint64_t seconds)
-{ return (0);}
-
-/*ARGSUSED*/
-uint64_t
-hv_mmu_map_perm_addr(void *vaddr, int ctx, uint64_t tte, int flags)
-{ return (0); }
-
-/*ARGSUSED */
-uint64_t
-hv_mmu_fault_area_conf(void *raddr)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_mmu_unmap_perm_addr(void *vaddr, int ctx, int flags)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_set_ctx0(uint64_t ntsb_descriptor, uint64_t desc_ra)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_set_ctxnon0(uint64_t ntsb_descriptor, uint64_t desc_ra)
-{ return (0); }
-
-#ifdef SET_MMU_STATS
-/*ARGSUSED*/
-uint64_t
-hv_mmu_set_stat_area(uint64_t rstatarea, uint64_t size)
-{ return (0); }
-#endif /* SET_MMU_STATS */
-
-/*ARGSUSED*/
-uint64_t
-hv_cpu_qconf(int queue, uint64_t paddr, int size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_devino_to_sysino(uint64_t dev_hdl, uint32_t devino, uint64_t *sysino)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_getvalid(uint64_t sysino, int *intr_valid_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_setvalid(uint64_t sysino, int intr_valid_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_getstate(uint64_t sysino, int *intr_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_setstate(uint64_t sysino, int intr_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_gettarget(uint64_t sysino, uint32_t *cpuid)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvio_intr_settarget(uint64_t sysino, uint32_t cpuid)
-{ return (0); }
-
-uint64_t
-hv_cpu_yield(void)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_cpu_state(uint64_t cpuid, uint64_t *cpu_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_dump_buf_update(uint64_t paddr, uint64_t size, uint64_t *minsize)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_mem_scrub(uint64_t real_addr, uint64_t length, uint64_t *scrubbed_len)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_mem_sync(uint64_t real_addr, uint64_t length, uint64_t *flushed_len)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ttrace_buf_conf(uint64_t paddr, uint64_t size, uint64_t *size1)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ttrace_buf_info(uint64_t *paddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ttrace_enable(uint64_t enable, uint64_t *prev_enable)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ttrace_freeze(uint64_t freeze, uint64_t *prev_freeze)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_mach_desc(uint64_t buffer_ra, uint64_t *buffer_sizep)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_ra2pa(uint64_t ra)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_hpriv(void *func, uint64_t arg1, uint64_t arg2, uint64_t arg3)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_ldc_tx_qconf(uint64_t channel, uint64_t ra_base, uint64_t nentries)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_tx_qinfo(uint64_t channel, uint64_t *ra_base, uint64_t *nentries)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_tx_get_state(uint64_t channel, 
-	uint64_t *headp, uint64_t *tailp, uint64_t *state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_tx_set_qtail(uint64_t channel, uint64_t tail)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_ldc_rx_qconf(uint64_t channel, uint64_t ra_base, uint64_t nentries)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_rx_qinfo(uint64_t channel, uint64_t *ra_base, uint64_t *nentries)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_rx_get_state(uint64_t channel, 
-	uint64_t *headp, uint64_t *tailp, uint64_t *state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_rx_set_qhead(uint64_t channel, uint64_t head)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_send_msg(uint64_t channel, uint64_t msg_ra)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_set_map_table(uint64_t channel, uint64_t tbl_ra, uint64_t tbl_entries)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_ldc_copy(uint64_t channel, uint64_t request, uint64_t cookie,
-	uint64_t raddr, uint64_t length, uint64_t *lengthp)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_getcookie(uint64_t dev_hdl, uint32_t devino, uint64_t *cookie)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_setcookie(uint64_t dev_hdl, uint32_t devino, uint64_t cookie)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_getvalid(uint64_t dev_hdl, uint32_t devino, int *intr_valid_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_setvalid(uint64_t dev_hdl, uint32_t devino, int intr_valid_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_getstate(uint64_t dev_hdl, uint32_t devino, int *intr_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_setstate(uint64_t dev_hdl, uint32_t devino, int intr_state)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_gettarget(uint64_t dev_hdl, uint32_t devino, uint32_t *cpuid)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hvldc_intr_settarget(uint64_t dev_hdl, uint32_t devino, uint32_t cpuid)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_api_get_version(uint64_t api_group, uint64_t *majorp, uint64_t *minorp)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_api_set_version(uint64_t api_group, uint64_t major, uint64_t minor,
-    uint64_t *supported_minor)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_tm_enable(uint64_t enable)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_mach_set_watchdog(uint64_t timeout, uint64_t *time_remaining)
-{ return (0); }
-
-/*ARGSUSED*/
-int64_t
-hv_cnwrite(uint64_t buf_ra, uint64_t count, uint64_t *retcount)
-{ return (0); }
-
-/*ARGSUSED*/
-int64_t
-hv_cnread(uint64_t buf_ra, uint64_t count, int64_t *retcount)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_soft_state_set(uint64_t state, uint64_t string)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_soft_state_get(uint64_t string, uint64_t *state)
-{ return (0); }uint64_t
-hv_guest_suspend(void)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_tick_set_npt(uint64_t npt)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_stick_set_npt(uint64_t npt)
-{ return (0); }
-
-/*ARGSUSED*/	
-uint64_t
-hv_reboot_data_set(uint64_t buffer_ra, uint64_t buffer_len)
-{ return (0); }
-
-#else	/* lint || __lint */
-
 	/*
 	 * int hv_mach_exit(uint64_t exit_code)
 	 */
@@ -1298,4 +963,3 @@
 	nop
 	SET_SIZE(hv_reboot_data_set)
 
-#endif	/* lint || __lint */
