On Monday 12 November 2012 07:23 PM, Arnd Bergmann wrote:
> On Monday 12 November 2012, vineet.gup...@synopsys.com wrote:
>> +void *module_alloc(unsigned long size)
>> +{
>> + if (size == 0)
>> + return NULL;
>> +
>> + return vmalloc(size);
>> +
>> +}
>> +
>> +void module_
On Monday 12 November 2012, vineet.gup...@synopsys.com wrote:
> +void *module_alloc(unsigned long size)
> +{
> + if (size == 0)
> + return NULL;
> +
> + return vmalloc(size);
> +
> +}
> +
> +void module_free(struct module *module, void *region)
> +{
> + vfree(region)
From: Vineet Gupta
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/module.h |4 ++
arch/arc/kernel/Makefile |1 +
arch/arc/kernel/module.c | 117 +
3 files changed, 122 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/ker
3 matches
Mail list logo