# HG changeset patch # User Tristan Gingold # Date 1181356894 -7200 # Node ID 1452f4cf404376126e64e821eaae5cfd230aebba # Parent 96331db61e47065da5d374a9ec432d6837aaf5af Avoid use of kernel type in user code. Signed-off-by: Tristan Gingold diff -r 96331db61e47 -r 1452f4cf4043 tools/libfsimage/common/fsimage_grub.c --- a/tools/libfsimage/common/fsimage_grub.c Wed Jun 06 09:30:01 2007 -0600 +++ b/tools/libfsimage/common/fsimage_grub.c Sat Jun 09 04:41:34 2007 +0200 @@ -145,7 +145,7 @@ fsig_log2 (unsigned long word) #else # define ia64_popcnt(x) \ ({ \ - __u64 ia64_intri_res; \ + uint64_t ia64_intri_res; \ asm ("popcnt %0=%1" : "=r" (ia64_intri_res) : "r" (x)); \ ia64_intri_res; \ })