summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/machine/param.h5
-rw-r--r--arch/x86/machine/strace.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/machine/param.h b/arch/x86/machine/param.h
index 557bc800..86ce81b1 100644
--- a/arch/x86/machine/param.h
+++ b/arch/x86/machine/param.h
@@ -47,11 +47,6 @@
#endif /* __LP64__ */
/*
- * Attributes for variables that are mostly read and seldom changed.
- */
-#define __read_mostly __section(".data.read_mostly")
-
-/*
* System timer frequency.
*
* The selected value of 200 translates to a period of 5ms, small enough to
diff --git a/arch/x86/machine/strace.c b/arch/x86/machine/strace.c
index 6c28cf15..4b7e7438 100644
--- a/arch/x86/machine/strace.c
+++ b/arch/x86/machine/strace.c
@@ -22,7 +22,7 @@
#include <kern/init.h>
#include <kern/kmem.h>
#include <kern/log.h>
-#include <kern/param.h>
+#include <kern/macros.h>
#include <machine/elf.h>
#include <machine/multiboot.h>
#include <machine/pmap.h>