diff options
author | 2019-08-09 09:21:41 +0000 | |
---|---|---|
committer | 2019-08-09 09:21:41 +0000 | |
commit | 2f35c405d892f78ab9d2c52f6b61473db4c763dd (patch) | |
tree | 1b4cc6bbcdcd2379dd2e3fd56a26a7d5fd54c9b9 /sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c | |
parent | Replace snmpctl(8) references with snmp(1). (diff) | |
download | wireguard-openbsd-2f35c405d892f78ab9d2c52f6b61473db4c763dd.tar.xz wireguard-openbsd-2f35c405d892f78ab9d2c52f6b61473db4c763dd.zip |
match radeon/atom.c rev 1.4 and #undef DEBUG before DEBUG macro
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c index bcbc16a963f..71750b310d7 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_atom.c @@ -92,6 +92,10 @@ static void debug_print_spaces(int n) printk(" "); } +#ifdef DEBUG +#undef DEBUG +#endif + #define DEBUG(...) do if (amdgpu_atom_debug) { printk(KERN_DEBUG __VA_ARGS__); } while (0) #define SDEBUG(...) do if (amdgpu_atom_debug) { printk(KERN_DEBUG); debug_print_spaces(debug_depth); printk(__VA_ARGS__); } while (0) #else |