Messages in this thread | | | Date | Wed, 26 Nov 2008 23:05:29 +1100 | From | Stephen Rothwell <> | Subject | Re: [patch 05/24] perfmon: X86 generic code (x86) |
| |
Hi Andi,
On Wed, 26 Nov 2008 12:33:09 +0100 Andi Kleen <andi@firstfloor.org> wrote: > > > + * x86 does not need extra alignment requirements for the sampling buffer > > + */ > > +#define PFM_ARCH_SMPL_ALIGN_SIZE 0 > > + > > +asmlinkage void pmu_interrupt(void); > > + > > +static inline void pfm_arch_bv_copy(u64 *a, u64 *b, int nbits) > > All these bitmap wrappers just seem like unnecessary obfuscation. > Could you just drop them and call the standard functions directly?
These were added after comments from the PowerPC maintainer since how the bitmaps are accessed needs to be arch specific.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |