mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
fs/notify/fanotify/fanotify_user.c: In function 'SYSC_fanotify_init': fs/notify/fanotify/fanotify_user.c:726: error: implicit declaration of function 'personality' fs/notify/fanotify/fanotify_user.c:726: error: 'PER_LINUX32' undeclared (first use in this function) fs/notify/fanotify/fanotify_user.c:726: error: (Each undeclared identifier is reported only once fs/notify/fanotify/fanotify_user.c:726: error: for each function it appears in.) Reported-by: Wu Fengguang <[email protected]> Cc: Will Woods <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: <[email protected]> [3.15.x] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
15 lines
325 B
C
15 lines
325 B
C
#ifndef _ASM_IA64_FCNTL_H
|
|
#define _ASM_IA64_FCNTL_H
|
|
/*
|
|
* Modified 1998-2000
|
|
* David Mosberger-Tang <[email protected]>, Hewlett-Packard Co.
|
|
*/
|
|
|
|
#define force_o_largefile() \
|
|
(personality(current->personality) != PER_LINUX32)
|
|
|
|
#include <linux/personality.h>
|
|
#include <asm-generic/fcntl.h>
|
|
|
|
#endif /* _ASM_IA64_FCNTL_H */
|