Skip to content

Commit

Permalink
Fix HP_MALLOC build flag - DBG_MALLOC is not necessary for it
Browse files Browse the repository at this point in the history
Style fix
  • Loading branch information
Shkiperon authored and liviuchircu committed Sep 3, 2024
1 parent e65173f commit e02b99b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mem/shm_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ inline static void shm_threshold_check(void)
lock_release(mem_lock); \
} while (0)
#endif
extern unsigned long long *shm_hash_usage;
#else
#define shm_lock() lock_get(mem_lock)
#define shm_unlock() lock_release(mem_lock)
Expand Down Expand Up @@ -629,8 +630,6 @@ inline static void _shm_free_bulk(void *ptr,
#define shm_free_bulk( _ptr ) _shm_free_bulk( (_ptr), \
__FILE__, __FUNCTION__, __LINE__ )

extern unsigned long long *shm_hash_usage;

#else /*DBG_MALLOC*/

#define shm_malloc_func shm_malloc
Expand Down

0 comments on commit e02b99b

Please sign in to comment.