| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (C) 2003 Jeff Dike (jdike@addtoit.com) | 
|  | 3 | * Licensed under the GPL | 
|  | 4 | */ | 
|  | 5 |  | 
|  | 6 | #ifndef __MEM_KERN_H__ | 
|  | 7 | #define __MEM_KERN_H__ | 
|  | 8 |  | 
|  | 9 | #include "linux/list.h" | 
|  | 10 | #include "linux/types.h" | 
|  | 11 |  | 
|  | 12 | struct remapper { | 
|  | 13 | struct list_head list; | 
|  | 14 | int (*proc)(int, unsigned long, int, __u64); | 
|  | 15 | }; | 
|  | 16 |  | 
|  | 17 | extern void register_remapper(struct remapper *info); | 
|  | 18 |  | 
|  | 19 | #endif | 
|  | 20 |  | 
|  | 21 | /* | 
|  | 22 | * Overrides for Emacs so that we follow Linus's tabbing style. | 
|  | 23 | * Emacs will notice this stuff at the end of the file and automatically | 
|  | 24 | * adjust the settings for this buffer only.  This must remain at the end | 
|  | 25 | * of the file. | 
|  | 26 | * --------------------------------------------------------------------------- | 
|  | 27 | * Local variables: | 
|  | 28 | * c-file-style: "linux" | 
|  | 29 | * End: | 
|  | 30 | */ |