regmap: Rename ret variable in regmap_read_poll_timeout
[linux-2.6/btrfs-unstable.git] / include / linux / extable.h
blob7effea4b257d986670e0464245b33130a13c79d4
1 #ifndef _LINUX_EXTABLE_H
2 #define _LINUX_EXTABLE_H
4 #include <linux/stddef.h> /* for NULL */
6 struct module;
7 struct exception_table_entry;
9 const struct exception_table_entry *
10 search_extable(const struct exception_table_entry *first,
11 const struct exception_table_entry *last,
12 unsigned long value);
13 void sort_extable(struct exception_table_entry *start,
14 struct exception_table_entry *finish);
15 void sort_main_extable(void);
16 void trim_init_extable(struct module *m);
18 /* Given an address, look for it in the exception tables */
19 const struct exception_table_entry *search_exception_tables(unsigned long add);
21 #ifdef CONFIG_MODULES
22 /* For extable.c to search modules' exception tables. */
23 const struct exception_table_entry *search_module_extables(unsigned long addr);
24 #else
25 static inline const struct exception_table_entry *
26 search_module_extables(unsigned long addr)
28 return NULL;
30 #endif /*CONFIG_MODULES*/
32 #endif /* _LINUX_EXTABLE_H */