diff options
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r-- | include/asm-m68knommu/module.h | 12 | ||||
-rw-r--r-- | include/asm-m68knommu/uaccess.h | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/include/asm-m68knommu/module.h b/include/asm-m68knommu/module.h index 57e95cc01ad5..2e45ab50b232 100644 --- a/include/asm-m68knommu/module.h +++ b/include/asm-m68knommu/module.h | |||
@@ -1 +1,11 @@ | |||
1 | #include <asm-m68k/module.h> | 1 | #ifndef ASM_M68KNOMMU_MODULE_H |
2 | #define ASM_M68KNOMMU_MODULE_H | ||
3 | |||
4 | struct mod_arch_specific { | ||
5 | }; | ||
6 | |||
7 | #define Elf_Shdr Elf32_Shdr | ||
8 | #define Elf_Sym Elf32_Sym | ||
9 | #define Elf_Ehdr Elf32_Ehdr | ||
10 | |||
11 | #endif /* ASM_M68KNOMMU_MODULE_H */ | ||
diff --git a/include/asm-m68knommu/uaccess.h b/include/asm-m68knommu/uaccess.h index 9ed9169a8849..68bbe9b312f1 100644 --- a/include/asm-m68knommu/uaccess.h +++ b/include/asm-m68knommu/uaccess.h | |||
@@ -170,10 +170,12 @@ static inline long strnlen_user(const char *src, long n) | |||
170 | */ | 170 | */ |
171 | 171 | ||
172 | static inline unsigned long | 172 | static inline unsigned long |
173 | clear_user(void *to, unsigned long n) | 173 | __clear_user(void *to, unsigned long n) |
174 | { | 174 | { |
175 | memset(to, 0, n); | 175 | memset(to, 0, n); |
176 | return 0; | 176 | return 0; |
177 | } | 177 | } |
178 | 178 | ||
179 | #define clear_user(to,n) __clear_user(to,n) | ||
180 | |||
179 | #endif /* _M68KNOMMU_UACCESS_H */ | 181 | #endif /* _M68KNOMMU_UACCESS_H */ |