diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-07-05 14:35:32 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:03:43 +0200 |
commit | bb319a37f5e7177243c94aa0d6573276cc4ec43b (patch) | |
tree | 0163d077631dedc2bba8ecb6e8c05c3114ebda7b | |
parent | 7f9d1c675e3771d52932c86a536cb3fdc4bebdf7 (diff) |
Lee's chunk to make the kernel compile
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/misc/hwmem/hwmem-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/hwmem/hwmem-main.c b/drivers/misc/hwmem/hwmem-main.c index 9162ff4fc91..b91d99bc2be 100644 --- a/drivers/misc/hwmem/hwmem-main.c +++ b/drivers/misc/hwmem/hwmem-main.c @@ -240,9 +240,10 @@ struct hwmem_alloc *hwmem_alloc(size_t size, enum hwmem_alloc_flags flags, alloc->flags = flags; alloc->default_access = def_access; INIT_LIST_HEAD(&alloc->threadg_info_list); +#ifdef CONFIG_DEBUG_FS alloc->creator = __builtin_return_address(0); alloc->creator_tgid = task_tgid_nr(current); - +#endif alloc->mem_type = resolve_mem_type(mem_type); if (IS_ERR(alloc->mem_type)) { ret = PTR_ERR(alloc->mem_type); |