[XTENSA] Fix modules for non-exec processor configurations

We need to use vmalloc_exec for module loading. Also remove
the definitions MODULE_START and MODULE_END, which wasn't
used, and increase the VMALLOC memory range accordingly.

Signed-off-by: Chris Zankel <chris@zankel.net>
Cette révision appartient à :
Chris Zankel
2008-01-07 16:42:21 -08:00
Parent 3e92501a4e
révision 3b4a49e21b
3 fichiers modifiés avec 7 ajouts et 7 suppressions

Voir le fichier

@@ -28,7 +28,7 @@ void *module_alloc(unsigned long size)
{
if (size == 0)
return NULL;
return vmalloc(size);
return vmalloc_exec(size);
}
void module_free(struct module *mod, void *module_region)