diff options
author | Richard Braun <rbraun@sceen.net> | 2014-01-02 23:38:19 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-01-02 23:38:19 +0100 |
commit | 8ad09341a41f54c846296a4265d0914f24e5a69b (patch) | |
tree | 46b1454b40e530c414d8ffa1466ac58ce10f6da3 /vm/vm_kmem.c | |
parent | 73cb08aea72483f509d774630a63006b9338c1ad (diff) |
Declare variables as read mostly where appropriate
Diffstat (limited to 'vm/vm_kmem.c')
-rw-r--r-- | vm/vm_kmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_kmem.c b/vm/vm_kmem.c index 229854ee..d967e5a7 100644 --- a/vm/vm_kmem.c +++ b/vm/vm_kmem.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012, 2013 Richard Braun. + * Copyright (c) 2011-2014 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ * Kernel map and storage. */ static struct vm_map kernel_map_store; -struct vm_map *kernel_map = &kernel_map_store; +struct vm_map *kernel_map __read_mostly = &kernel_map_store; /* * Heap boundaries during bootstrap. |