diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-22 23:57:51 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-22 23:57:51 +0200 |
commit | 4a30ffea8c0ef97a023b1ec95f2e51d40e4213d3 (patch) | |
tree | 5a10faebffc3914c931fced056bc85e1257a9f79 /arch/x86/machine | |
parent | 5176816a358afa06f62d371f4903c00d7842acc0 (diff) |
kern/macros: move the __read_mostly macro here
Diffstat (limited to 'arch/x86/machine')
-rw-r--r-- | arch/x86/machine/param.h | 5 | ||||
-rw-r--r-- | arch/x86/machine/strace.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/machine/param.h b/arch/x86/machine/param.h index 557bc80..86ce81b 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 6c28cf1..4b7e743 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> |