Commit de796c9a authored by David Howells's avatar David Howells Committed by Linus Torvalds

[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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1fa5e012
...@@ -90,7 +90,7 @@ extern void *__init alloc_large_system_hash(const char *tablename, ...@@ -90,7 +90,7 @@ extern void *__init alloc_large_system_hash(const char *tablename,
#else #else
#define HASHDIST_DEFAULT 0 #define HASHDIST_DEFAULT 0
#endif #endif
extern int hashdist; /* Distribute hashes across NUMA nodes? */ extern int __initdata hashdist; /* Distribute hashes across NUMA nodes? */
#endif /* _LINUX_BOOTMEM_H */ #endif /* _LINUX_BOOTMEM_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment