Skip to content

Commit 66ab75b

Browse files
jmberg-intelgregkh
authored andcommitted
scripts: gdb: move MNT_* constants to gdb-parsed
[ Upstream commit 41a7f73 ] Since these are now no longer defines, but in an enum. Link: https://lkml.kernel.org/r/[email protected] Fixes: 101f2bb ("fs: convert mount flags to enum") Reviewed-by: Benjamin Berg <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: Stephen Brennan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent f5d6404 commit 66ab75b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/gdb/linux/constants.py.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ if IS_BUILTIN(CONFIG_MODULES):
7474
LX_GDBPARSED(MOD_RO_AFTER_INIT)
7575

7676
/* linux/mount.h */
77-
LX_VALUE(MNT_NOSUID)
78-
LX_VALUE(MNT_NODEV)
79-
LX_VALUE(MNT_NOEXEC)
80-
LX_VALUE(MNT_NOATIME)
81-
LX_VALUE(MNT_NODIRATIME)
82-
LX_VALUE(MNT_RELATIME)
77+
LX_GDBPARSED(MNT_NOSUID)
78+
LX_GDBPARSED(MNT_NODEV)
79+
LX_GDBPARSED(MNT_NOEXEC)
80+
LX_GDBPARSED(MNT_NOATIME)
81+
LX_GDBPARSED(MNT_NODIRATIME)
82+
LX_GDBPARSED(MNT_RELATIME)
8383

8484
/* linux/threads.h */
8585
LX_VALUE(NR_CPUS)

0 commit comments

Comments
 (0)