| #ifndef KOBJECT_TEXT_AREA |
| #if defined(CONFIG_DEBUG) || defined(CONFIG_STACK_CANARIES) |
| #define KOBJECT_TEXT_AREA 256 |
| #define KOBJECT_TEXT_AREA 128 |
| /* We need to reserve room for the gperf generated hash functions. |
| * Fortunately, unlike the data tables, the size of the code is |
| * reasonably predictable. |
| * The linker will error out complaining that the location pointer |
| * is moving backwards if the reserved room isn't large enough. |
| _kobject_text_area_start = .; |
| _kobject_text_area_end = .; |
| PROVIDE(_k_object_find = .); |
| PROVIDE(_k_object_wordlist_foreach = .); |
| . += KOBJECT_TEXT_AREA - (_kobject_text_area_end - _kobject_text_area_start); |
| #endif /* CONFIG_USERSPACE */ |