Skip to content

Commit 41a7f73

Browse files
jmberg-intelakpm00
authored andcommitted
scripts: gdb: move MNT_* constants to gdb-parsed
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]>
1 parent 6496049 commit 41a7f73

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
@@ -73,12 +73,12 @@ if IS_BUILTIN(CONFIG_MODULES):
7373
LX_GDBPARSED(MOD_RO_AFTER_INIT)
7474

7575
/* linux/mount.h */
76-
LX_VALUE(MNT_NOSUID)
77-
LX_VALUE(MNT_NODEV)
78-
LX_VALUE(MNT_NOEXEC)
79-
LX_VALUE(MNT_NOATIME)
80-
LX_VALUE(MNT_NODIRATIME)
81-
LX_VALUE(MNT_RELATIME)
76+
LX_GDBPARSED(MNT_NOSUID)
77+
LX_GDBPARSED(MNT_NODEV)
78+
LX_GDBPARSED(MNT_NOEXEC)
79+
LX_GDBPARSED(MNT_NOATIME)
80+
LX_GDBPARSED(MNT_NODIRATIME)
81+
LX_GDBPARSED(MNT_RELATIME)
8282

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

0 commit comments

Comments
 (0)