Remove unused functions.

This commit is contained in:
ad 2008-12-02 17:56:06 +00:00
parent b523b8ffed
commit 277ec70b63

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpufunc.S,v 1.13 2008/09/23 08:50:11 ad Exp $ */
/* $NetBSD: cpufunc.S,v 1.14 2008/12/02 17:56:06 ad Exp $ */
/*-
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
@ -36,7 +36,7 @@
*/
#include <machine/asm.h>
__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.13 2008/09/23 08:50:11 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.14 2008/12/02 17:56:06 ad Exp $");
#include "opt_xen.h"
@ -45,10 +45,6 @@ __KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.13 2008/09/23 08:50:11 ad Exp $");
#include "assym.h"
/* Small and slow, so align less. */
#undef _ALIGN_TEXT
#define _ALIGN_TEXT .align 8
ENTRY(x86_lfence)
lock
addl $0, -4(%esp)
@ -168,45 +164,6 @@ ENTRY(breakpoint)
ret
END(breakpoint)
ENTRY(x86_atomic_testset_ul)
movl 4(%esp), %ecx
movl 8(%esp), %eax
xchgl %eax, (%ecx)
ret
END(x86_atomic_testset_ul)
ENTRY(x86_atomic_testset_i)
movl 4(%esp), %ecx
movl 8(%esp), %eax
xchgl %eax, (%ecx)
ret
END(x86_atomic_testset_i)
ENTRY(x86_atomic_testset_b)
movl 4(%esp), %ecx
movl 8(%esp), %eax
xchgb %al, (%ecx)
andl $0xff, %eax
ret
END(x86_atomic_testset_b)
ENTRY(x86_atomic_setbits_l)
movl 4(%esp), %ecx
movl 8(%esp), %eax
lock
orl %eax, (%ecx)
ret
END(x86_atomic_setbits_l)
ENTRY(x86_atomic_clearbits_l)
movl 4(%esp), %ecx
movl 8(%esp), %eax
notl %eax
lock
andl %eax, (%ecx)
ret
END(x86_atomic_clearbits_l)
ENTRY(x86_curcpu)
movl %fs:(CPU_INFO_SELF), %eax
ret