X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..eee3565979933af707c711411001ba11fe406a3c:/libsyscall/wrappers/csr.c

diff --git a/libsyscall/wrappers/csr.c b/libsyscall/wrappers/csr.c
index 2870bf97f..c5944c507 100644
--- a/libsyscall/wrappers/csr.c
+++ b/libsyscall/wrappers/csr.c
@@ -29,15 +29,10 @@ int __csrctl(csr_op_t op, void *buffer, size_t size);
 
 int csr_check(csr_config_t mask)
 {
-	return __csrctl(CSR_OP_CHECK, &mask, sizeof(csr_config_t));
+	return __csrctl(CSR_SYSCALL_CHECK, &mask, sizeof(csr_config_t));
 }
 
 int csr_get_active_config(csr_config_t *config)
 {
-	return __csrctl(CSR_OP_GET_ACTIVE_CONFIG, config, sizeof(csr_config_t));
-}
-
-int csr_get_pending_config(csr_config_t *config)
-{
-	return __csrctl(CSR_OP_GET_PENDING_CONFIG, config, sizeof(csr_config_t));
+	return __csrctl(CSR_SYSCALL_GET_ACTIVE_CONFIG, config, sizeof(csr_config_t));
 }