[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/ia64: Cull more ia64 code
On 13/08/13 14:09, Jan Beulich wrote: >>>> On 13.08.13 at 15:00, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote: >> --- a/tools/libfsimage/common/fsimage_grub.c >> +++ b/tools/libfsimage/common/fsimage_grub.c >> @@ -138,28 +138,6 @@ fsig_log2 (unsigned long word) >> return word; >> } >> >> -#elif defined(__ia64__) >> - >> -#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) >> -# define ia64_popcnt(x) __builtin_popcountl(x) >> -#else >> -# define ia64_popcnt(x) \ >> - ({ \ >> - uint64_t ia64_intri_res; \ >> - asm ("popcnt %0=%1" : "=r" (ia64_intri_res) : "r" (x)); \ >> - ia64_intri_res; \ >> - }) >> -#endif >> - >> -unsigned long >> -fsig_log2 (unsigned long word) >> -{ >> - unsigned long result; >> - >> - result = ia64_popcnt((word - 1) & ~word); >> - return result; >> -} >> - >> #elif defined(__powerpc__) >> >> #ifdef __powerpc64__ > Why not rip out the PPC stuff here at once? > > Jan > Can do - this appears to be the only ppc which can be ripped out. v2 on its way ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |