diff options
Diffstat (limited to 'include/linux/ioport.h')
| -rw-r--r-- | include/linux/ioport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 5e3a906cc089..142ec544167c 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
| @@ -237,6 +237,12 @@ extern int iomem_is_exclusive(u64 addr); | |||
| 237 | extern int | 237 | extern int |
| 238 | walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, | 238 | walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, |
| 239 | void *arg, int (*func)(unsigned long, unsigned long, void *)); | 239 | void *arg, int (*func)(unsigned long, unsigned long, void *)); |
| 240 | extern int | ||
| 241 | walk_system_ram_res(u64 start, u64 end, void *arg, | ||
| 242 | int (*func)(u64, u64, void *)); | ||
| 243 | extern int | ||
| 244 | walk_iomem_res(char *name, unsigned long flags, u64 start, u64 end, void *arg, | ||
| 245 | int (*func)(u64, u64, void *)); | ||
| 240 | 246 | ||
| 241 | /* True if any part of r1 overlaps r2 */ | 247 | /* True if any part of r1 overlaps r2 */ |
| 242 | static inline bool resource_overlaps(struct resource *r1, struct resource *r2) | 248 | static inline bool resource_overlaps(struct resource *r1, struct resource *r2) |
