diff options
| author | Andy Grover <agrover@groveronline.com> | 2003-02-02 19:02:47 -0800 |
|---|---|---|
| committer | Andy Grover <agrover@groveronline.com> | 2003-02-02 19:02:47 -0800 |
| commit | 992f378dede07e0c8836226f12e0e7b74c17de24 (patch) | |
| tree | bcacf2eff545873dd5c3bc08db5d12f8800f9f55 /include/linux/module.h | |
| parent | 576228539931d1ad1cd63d8b354e1eaeb9ba9ed5 (diff) | |
| parent | c92cacc2cc8d72a750fc0a5c2aed67f21eadc72b (diff) | |
Merge groveronline.com:/root/bk/linux-2.5
into groveronline.com:/root/bk/linux-acpi
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 6dad1479105f..5b2fb9d19be3 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -344,7 +344,7 @@ static inline int module_text_address(unsigned long addr) } /* Get/put a kernel symbol (calls should be symmetric) */ -#define symbol_get(x) (&(x)) +#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); }) #define symbol_put(x) do { } while(0) #define symbol_put_addr(x) do { } while(0) |
