diff options
author | 2015-06-24 19:01:51 +0000 | |
---|---|---|
committer | 2015-06-24 19:01:51 +0000 | |
commit | 25ccd42620be4aba606651c0d343074b6234426d (patch) | |
tree | 3d98d5ca07b9b3b204b3fd5d486ebfbb779124f6 | |
parent | fauls -> faults (diff) | |
download | wireguard-openbsd-25ccd42620be4aba606651c0d343074b6234426d.tar.xz wireguard-openbsd-25ccd42620be4aba606651c0d343074b6234426d.zip |
#undef HZ before defining it such that compiling a kernel with -DHZ=xxx works.
-rw-r--r-- | sys/dev/pci/drm/drm_linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h index 7f7e5f2d03a..514de9b75d1 100644 --- a/sys/dev/pci/drm/drm_linux.h +++ b/sys/dev/pci/drm/drm_linux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.h,v 1.29 2015/06/24 17:59:42 kettenis Exp $ */ +/* $OpenBSD: drm_linux.h,v 1.30 2015/06/24 19:01:51 kettenis Exp $ */ /* * Copyright (c) 2013, 2014 Mark Kettenis * @@ -376,6 +376,7 @@ extern struct timeval ns_to_timeval(const int64_t); extern int ticks; #define jiffies ticks +#undef HZ #define HZ hz static inline unsigned long |