linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rh_init exported twice (rheap vs. dm-region_hash)
@ 2008-06-23 12:33 Matt Sealey
  2008-06-23 12:38 ` Timur Tabi
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Sealey @ 2008-06-23 12:33 UTC (permalink / raw)
  To: ppc-dev

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"..

-- 
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rh_init exported twice (rheap vs. dm-region_hash)
  2008-06-23 12:33 rh_init exported twice (rheap vs. dm-region_hash) Matt Sealey
@ 2008-06-23 12:38 ` Timur Tabi
  0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2008-06-23 12:38 UTC (permalink / raw)
  To: Matt Sealey; +Cc: ppc-dev

Matt Sealey wrote:

> 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?

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.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-23 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 12:33 rh_init exported twice (rheap vs. dm-region_hash) Matt Sealey
2008-06-23 12:38 ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).