summaryrefslogtreecommitdiff
path: root/include/linux/bootmem.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-01-04 05:15:13 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:15:13 -0800
commitde796c9af8ac2598eb501ec05d117d7f7822c221 (patch)
tree5f2beefc05022ed1dbc9c88e7cfb08842377f6f9 /include/linux/bootmem.h
parent1fa5e01246a4f0ec32f9bdfc910d57e30bfc0260 (diff)
[PATCH] frv: add initdata variable spec in a header file
The attached patch marks a variable as __initdata in a header file so that the FRV gcc generates the correct access method as initdata variables are too far from the GPREL pointer to access directly. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/bootmem.h')
-rw-r--r--include/linux/bootmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h
index 70942b4f75b4..0dd8ca1a3d5a 100644
--- a/include/linux/bootmem.h
+++ b/include/linux/bootmem.h
@@ -90,7 +90,7 @@ extern void *__init alloc_large_system_hash(const char *tablename,
#else
#define HASHDIST_DEFAULT 0
#endif
-extern int hashdist; /* Distribute hashes across NUMA nodes? */
+extern int __initdata hashdist; /* Distribute hashes across NUMA nodes? */
#endif /* _LINUX_BOOTMEM_H */