summaryrefslogtreecommitdiff
path: root/stringify/stringify.h
blob: e9f188ee0421d3d83d5a3d7a661f184637d73a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Taken from Linux Kernel source code.
 *
 * Licensed under the GNU General Public License Version 2.
 */

#ifndef _STRINGIFY_H_
#define _STRINGIFY_H_

/*
 * Indirect stringification.  Doing two levels allows the parameter to be a
 * macro itself.  For example, compile with -DFOO=bar, __stringify(FOO)
 * converts to "bar".
 */

#define __stringify_1(x...)	#x
#define __stringify(x...)	__stringify_1(x)

#endif /* _STRINGIFY_H_ */
option>
authorEric W. Biederman <ebiederm@xmission.com>2012-08-11 12:07:24 -0700
committerEric W. Biederman <ebiederm@xmission.com>2012-09-21 03:13:29 -0700
commitf31389d50817c9a99c3ea81fbb2e3789e303cfe8 (patch)
tree767f59175ccb6307acd28ad61178bc4690bdef4f /fs/affs/super.c
parent6c1ee033591ada69805a4a10108f28bbc0d67281 (diff)
userns: On alpha modify linux_to_osf_stat to use convert from kuids and kgids
Silencing build errors and potentially allowing people to use osf system calls in from processes running in a non-default user namespace. It seems this stat call was missed in my first round of converting the stat system calls, bother. Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/affs/super.c')
ederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-c5a8m8lbjuy0agep6giykxbz@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/asm/barrier.h')