aufs: headers 1/2, bugfix, where the pr_fmt macro definition
From: J. R. Okajima <hooanon05@yahoo.co.jp> The pr_fmt macro is defined in fs/aufs/Makefile and it refers to the AUFS_NAME macro, which caused a compilation error in m68k architecture. Also it refers to the "current" macro which will be a problem too. See-also: http://sourceforge.net/mailarchive/message.php?msg_id=28608043 Reported-by: Ben Hutchings <ben@decadent.org.uk> Suggested-by: Thorsten Glaser <tg@mirbsd.de> Signed-off-by: J. R. Okajima <hooanon05@yahoo.co.jp> --- fs/aufs/Makefile | 4 ++-- include/linux/aufs_type.h | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/fs/aufs/Makefile b/fs/aufs/Makefile index 0aadd21..dc8fd36 100644 --- a/fs/aufs/Makefile +++ b/fs/aufs/Makefile @@ -4,8 +4,8 @@ include ${srctree}/${src}/magic.mk # cf. include/linux/kernel.h # enable pr_debug ccflags-y += -DDEBUG -# sparse doesn't allow spaces -ccflags-y += -D'pr_fmt(fmt)=AUFS_NAME" |