rh_init exported twice (rheap vs. dm-region_hash)
Hi guys,
I keep getting export errors when building kernels, a conflict between arch/powerpc/lib/rheap.c:rh_init() and drivers/dm/dm-region_hash.c:rh_init()
- in the event you want to use BestComm, MPC8610 DIU or other features *and* a RAID algorithm, which subsystem would be best to patch away or patch in a fix?
I was thinking of renaming the dm hash one to rh_hash_init() and then I thought, maybe rh_heap_init() is better. Then I thought, why have rh in both places, why not rename the entire API (rheap_ and rhash_) in both cases?
What do you think is the best solution? Willing to hack and compile test just so my kernel builds are "cleaner"..
Signature · 2 lines
Matt Sealey <[email protected]> Genesi, Manager, Developer Relations
Quoted 4 lines · Matt Sealey
I was thinking of renaming the dm hash one to
rh_hash_init()and then I thought, mayberh_heap_init()is better. Then I thought, why have rh in both places, why not rename the entire API (rheap_andrhash_) in both cases?
I'm okay with renaming the rh_xxx calls in rheap.c to rheap_xxx. I also think renaming the rh_ calls to rhash is a good idea.
Signature · 2 lines
Timur Tabi Linux Kernel Developer @ Freescale