From: kettenis Date: Wed, 24 Jun 2015 19:01:51 +0000 (+0000) Subject: #undef HZ before defining it such that compiling a kernel with -DHZ=xxx works. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=25ccd42620be4aba606651c0d343074b6234426d;p=openbsd #undef HZ before defining it such that compiling a kernel with -DHZ=xxx works. --- 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