175584Sru/*-
275584Sru * Copyright (c) 2013 Konstantin Belousov <kib@FreeBSD.org>
375584Sru *
475584Sru * Redistribution and use in source and binary forms, with or without
575584Sru * modification, are permitted provided that the following conditions
675584Sru * are met:
775584Sru * 1. Redistributions of source code must retain the above copyright
875584Sru *    notice, this list of conditions and the following disclaimer.
975584Sru * 2. Redistributions in binary form must reproduce the above copyright
1075584Sru *    notice, this list of conditions and the following disclaimer in the
1175584Sru *    documentation and/or other materials provided with the distribution.
1275584Sru *
1375584Sru * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1475584Sru * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1575584Sru * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1675584Sru * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1775584Sru * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1875584Sru * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19151497Sru * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2075584Sru * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2175584Sru * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2275584Sru * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2375584Sru * SUCH DAMAGE.
2475584Sru */
2575584Sru
2675584Sru#include <sys/cdefs.h>
2775584Sru__FBSDID("$FreeBSD: releng/10.3/lib/libc/powerpc64/sys/__vdso_gettc.c 246117 2013-01-30 12:48:16Z kib $");
2875584Sru
2975584Sru#include <sys/types.h>
3075584Sru#include <sys/time.h>
3175584Sru#include <sys/vdso.h>
3275584Sru#include <errno.h>
3375584Sru
3475584Sru#pragma weak __vdso_gettc
3575584Sruu_int
3675584Sru__vdso_gettc(const struct vdso_timehands *th)
37{
38
39	return (0);
40}
41
42#pragma weak __vdso_gettimekeep
43int
44__vdso_gettimekeep(struct vdso_timekeep **tk)
45{
46
47	return (ENOSYS);
48}
49