From 25ccd42620be4aba606651c0d343074b6234426d Mon Sep 17 00:00:00 2001 From: kettenis Date: Wed, 24 Jun 2015 19:01:51 +0000 Subject: [PATCH] #undef HZ before defining it such that compiling a kernel with -DHZ=xxx works. --- sys/dev/pci/drm/drm_linux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1