summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/pgtable.py
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2025-06-09 19:26:55 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2025-06-09 19:54:05 +0300
commit86e2d052c2320bf12571a5d96b16c2745e1cfc5e (patch)
treeddd7e116a07fc3126c1941a46c74257a0adae333 /scripts/gdb/linux/pgtable.py
parentb5735e5e7102683038a1c18d7c8d982c2aef4f8d (diff)
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
downloadlinux-86e2d052c2320bf12571a5d96b16c2745e1cfc5e.tar.xz
Merge drm/drm-next into drm-xe-next
Backmerging to bring in 6.16 Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
-rw-r--r--scripts/gdb/linux/pgtable.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/gdb/linux/pgtable.py b/scripts/gdb/linux/pgtable.py
index 30d837f3dfae..09aac2421fb8 100644
--- a/scripts/gdb/linux/pgtable.py
+++ b/scripts/gdb/linux/pgtable.py
@@ -29,11 +29,9 @@ def page_mask(level=1):
raise Exception(f'Unknown page level: {level}')
-#page_offset_base in case CONFIG_DYNAMIC_MEMORY_LAYOUT is disabled
-POB_NO_DYNAMIC_MEM_LAYOUT = '0xffff888000000000'
def _page_offset_base():
pob_symbol = gdb.lookup_global_symbol('page_offset_base')
- pob = pob_symbol.name if pob_symbol else POB_NO_DYNAMIC_MEM_LAYOUT
+ pob = pob_symbol.name
return gdb.parse_and_eval(pob)