Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85936
b: refs/heads/master
c: 3b4a49e
h: refs/heads/master
v: v3
  • Loading branch information
Chris Zankel committed Feb 14, 2008
1 parent 7b1c0cd commit 78b8d24
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e92501a4e10e640786de10786c434834a0c1651
refs/heads/master: 3b4a49e21b0d8a69629623815a8caff3eb4cf9f7
2 changes: 1 addition & 1 deletion trunk/arch/xtensa/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-xtensa/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@

struct mod_arch_specific
{
/* Module support is not completely implemented. */
/* No special elements, yet. */
};

#define MODULE_ARCH_VERMAGIC "xtensa-" __stringify(XCHAL_CORE_ID) " "

#define Elf_Shdr Elf32_Shdr
#define Elf_Sym Elf32_Sym
#define Elf_Ehdr Elf32_Ehdr
Expand Down
8 changes: 3 additions & 5 deletions trunk/include/asm-xtensa/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@
*/

#define VMALLOC_START 0xC0000000
#define VMALLOC_END 0xC6FEFFFF
#define TLBTEMP_BASE_1 0xC6FF0000
#define TLBTEMP_BASE_2 0xC6FF8000
#define MODULE_START 0xC7000000
#define MODULE_END 0xC7FFFFFF
#define VMALLOC_END 0xC7FEFFFF
#define TLBTEMP_BASE_1 0xC7FF0000
#define TLBTEMP_BASE_2 0xC7FF8000

/*
* Xtensa Linux config PTE layout (when present):
Expand Down

0 comments on commit 78b8d24

Please sign in to comment.