Greg Ungerer | 54cae79 | 2009-01-29 15:57:30 +1000 | [diff] [blame] | 1 | #ifndef __MMU_H |
2 | #define __MMU_H | ||||
3 | |||||
4 | #ifdef CONFIG_MMU | ||||
5 | /* Default "unsigned long" context */ | ||||
6 | typedef unsigned long mm_context_t; | ||||
Sam Ravnborg | 4914802 | 2009-01-16 21:58:10 +1000 | [diff] [blame] | 7 | #else |
Greg Ungerer | 54cae79 | 2009-01-29 15:57:30 +1000 | [diff] [blame] | 8 | typedef struct { |
9 | unsigned long end_brk; | ||||
10 | } mm_context_t; | ||||
11 | #endif | ||||
12 | |||||
Sam Ravnborg | 4914802 | 2009-01-16 21:58:10 +1000 | [diff] [blame] | 13 | #endif |