Define COHERENCY_UNIT and CACHE_LINE_SIZE to fix arm builds.
The recent change to cpu.h and struct cpu_info needs an early definition for the ARM_INTR_IMPLs that want to inline the spl functions and get {,set_}curcpl() from cpu.h
This commit is contained in:
parent
bc6beee95c
commit
a334a57f55
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param.h,v 1.22 2019/01/07 22:00:30 jdolecek Exp $ */
|
||||
/* $NetBSD: param.h,v 1.23 2020/08/16 09:37:30 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994,1995 Mark Brinicombe.
|
||||
@ -186,4 +186,7 @@
|
||||
#endif
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#define COHERENCY_UNIT 64
|
||||
#define CACHE_LINE_SIZE 64
|
||||
|
||||
#endif /* _ARM_PARAM_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user