[PATCH 3/3] ARM: S3C64XX: Use chip_data to store the shift for EINTs
kgene.kim at samsung.com
Wed Dec 1 07:11:21 EST 2010
Mark Brown wrote:
> On Wed, Dec 01, 2010 at 08:44:25PM +0900, Kukjin Kim wrote:
> > Mark Brown wrote:
> > > This makes all the functions that use the shift slightly smaller, one
> > > instruction in most cases but more for ack() and maskack().
> > Uhm...I'm not sure to use chip_data for the eint_irq_to_bit() is best to
> Could you elaborate on your concern here? I can't think of anything
> else we might want to include in the data, and avoiding the shifts
> and/or dereferences seems useful for anyone doing interrupt heavy work.
I just thought it again, I agree with you. Your patch looks ok to me...will
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel