Re: [PATCH] Re: tools/liblockdep: Build failure

From: Andi Kleen
Date: Tue Apr 01 2014 - 11:40:21 EST


On Tue, Apr 01, 2014 at 12:21:59PM +0200, Robin Hack wrote:
> From: Robin Hack <rhack@xxxxxxxxxx>
> Copy asmlinkage macro to lockdep/uinclude/linux/linkage.h.

You can just do

#define asmlinkage
#define __visible

for this case. don't need all the ifdefs or the attribute in the
userspace build.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/