mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Take "extern int maxbcachebuf" out of sys/param.h, since it breaks the
arm build. In the arm build, elf_note.S includes sys/param.h and then does an elf macro called ELFNOTE(). Although the compile error doesn't make sense to me, I believe it just means that an "extern ..." can't exist in param.h for this inclusion case. I suspect adding #if !defined(LOCORE) might fix the build, but this commit just takes the definition out. I will ask freebsd-current@ what is the best was to deal with this and do a subsequent commit after that. Reported by: melounmichal@gmail.com
This commit is contained in:
parent
dbaa9ebf1b
commit
1d9f01b18e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320070
@ -96,6 +96,7 @@ extern int nfscl_ticks;
|
||||
extern void (*ncl_call_invalcaches)(struct vnode *);
|
||||
extern int nfs_numnfscbd;
|
||||
extern int nfscl_debuglevel;
|
||||
extern int maxbcachebuf;
|
||||
|
||||
SVCPOOL *nfscbd_pool;
|
||||
static int nfsrv_gsscallbackson = 0;
|
||||
|
@ -83,6 +83,7 @@ extern int nfscl_debuglevel;
|
||||
extern enum nfsiod_state ncl_iodwant[NFS_MAXASYNCDAEMON];
|
||||
extern struct nfsmount *ncl_iodmount[NFS_MAXASYNCDAEMON];
|
||||
extern struct mtx ncl_iod_mutex;
|
||||
extern int maxbcachebuf;
|
||||
NFSCLSTATEMUTEX;
|
||||
|
||||
MALLOC_DEFINE(M_NEWNFSREQ, "newnfsclient_req", "NFS request header");
|
||||
|
@ -264,14 +264,6 @@
|
||||
#endif
|
||||
#define BKVAMASK (BKVASIZE-1)
|
||||
|
||||
/*
|
||||
* This variable is tuned via vfs.maxbcachebuf and is set to the value of
|
||||
* MAXBCACHEBUF by default.
|
||||
*/
|
||||
#ifdef _KERNEL
|
||||
extern int maxbcachebuf;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* MAXPATHLEN defines the longest permissible path length after expanding
|
||||
* symbolic links. It is used to allocate a temporary buffer from the buffer
|
||||
|
Loading…
Reference in New Issue
Block a user