#include <sys/socket.h>
#include <sys/vnode_internal.h>
#include <sys/file_internal.h>
-#include <sys/callout.h>
-#include <sys/clist.h>
#include <sys/mbuf.h>
#include <sys/domain.h>
#include <sys/kernel.h>
struct timezone tz = { .tz_minuteswest = 0, .tz_dsttime = 0 };
-#if CONFIG_EMBEDDED
+#if !defined(__x86_64__)
#define NPROC 1000 /* Account for TOTAL_CORPSES_ALLOWED by making this slightly lower than we can. */
#define NPROC_PER_UID 950
#else
int maxproc = NPROC;
int maxprocperuid = NPROC_PER_UID;
-#if CONFIG_EMBEDDED
-int hard_maxproc = NPROC; /* hardcoded limit -- for embedded the number of processes is limited by the ASID space */
+#if !defined(__x86_64__)
+int hard_maxproc = NPROC; /* hardcoded limit -- for ARM the number of processes is limited by the ASID space */
#else
int hard_maxproc = HNPROC; /* hardcoded limit */
#endif
int aio_max_requests_per_process = CONFIG_AIO_PROCESS_MAX;
int aio_worker_threads = CONFIG_AIO_THREAD_COUNT;
-/*
- * These have to be allocated somewhere; allocating
- * them here forces loader errors if this file is omitted
- * (if they've been externed everywhere else; hah!).
- */
-struct callout *callout;
-struct cblock *cfree;
-struct cblock *cfreelist = NULL;
-int cfreecount = 0;
struct buf *buf_headers;
struct domains_head domains = TAILQ_HEAD_INITIALIZER(domains);