diff options
Diffstat (limited to 'middleware/multicore/open-amp/common/shm/sh_mem.h')
-rw-r--r-- | middleware/multicore/open-amp/common/shm/sh_mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/middleware/multicore/open-amp/common/shm/sh_mem.h b/middleware/multicore/open-amp/common/shm/sh_mem.h index 4ba830b..abfe6b7 100644 --- a/middleware/multicore/open-amp/common/shm/sh_mem.h +++ b/middleware/multicore/open-amp/common/shm/sh_mem.h @@ -1,6 +1,7 @@ /* * Copyright (c) 2014, Mentor Graphics Corporation * All rights reserved. + * Copyright (c) 2015 Freescale Semiconductor, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -75,7 +76,7 @@ struct sh_mem_pool { int total_buffs; int used_buffs; int bmp_size; - unsigned long bitmap[0]; + unsigned long bitmap[1]; }; /* APIs */ |