aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/at91
diff options
context:
space:
mode:
authorZbigniew Bodek <zbb@FreeBSD.org>2015-07-16 10:46:52 +0000
committerZbigniew Bodek <zbb@FreeBSD.org>2015-07-16 10:46:52 +0000
commit721555e7ee6944b0f632833322ff2e605e57b51a (patch)
tree3c44716ac42ebbba799b203b7f6302bebec1ae2c /sys/arm/at91
parent1038d102c45f85100654325933ec11e170699b45 (diff)
downloadsrc-721555e7ee6944b0f632833322ff2e605e57b51a.tar.gz
src-721555e7ee6944b0f632833322ff2e605e57b51a.zip
Fix KSTACK_PAGES issue when the default value was changed in KERNCONF
If KSTACK_PAGES was changed to anything alse than the default, the value from param.h was taken instead in some places and the value from KENRCONF in some others. This resulted in inconsistency which caused corruption in SMP envorinment. Ensure all places where KSTACK_PAGES are used the opt_kstack_pages.h is included. The file opt_kstack_pages.h could not be included in param.h because was breaking the toolchain compilation. Reviewed by: kib Obtained from: Semihalf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3094
Notes
Notes: svn path=/head/; revision=285627
Diffstat (limited to 'sys/arm/at91')
-rw-r--r--sys/arm/at91/at91_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/at91/at91_machdep.c b/sys/arm/at91/at91_machdep.c
index 170d0296a077..62edfa674ab8 100644
--- a/sys/arm/at91/at91_machdep.c
+++ b/sys/arm/at91/at91_machdep.c
@@ -43,6 +43,7 @@
* Created : 17/09/94
*/
+#include "opt_kstack_pages.h"
#include "opt_platform.h"
#include <sys/cdefs.h>