Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 03:58:04 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: mm.h

Log Message:
Mega-kludge: reverse sense of PAGE_MASK in <linux/mm.h>.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/include/linux/mm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/mm.h
diff -u src/sys/external/bsd/drm2/include/linux/mm.h:1.1.2.3 src/sys/external/bsd/drm2/include/linux/mm.h:1.1.2.4
--- src/sys/external/bsd/drm2/include/linux/mm.h:1.1.2.3	Wed Jul 24 02:51:06 2013
+++ src/sys/external/bsd/drm2/include/linux/mm.h	Wed Jul 24 03:58:04 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: mm.h,v 1.1.2.3 2013/07/24 02:51:06 riastradh Exp $	*/
+/*	$NetBSD: mm.h,v 1.1.2.4 2013/07/24 03:58:04 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -42,6 +42,10 @@
 
 #define	PAGE_ALIGN(x)	round_page(x)
 
+/* XXX Ugh bletch!  Whattakludge!  Linux's sense is reversed...  */
+#undef	PAGE_MASK
+#define	PAGE_MASK	(~(PAGE_SIZE-1))
+
 /*
  * ###################################################################
  * ############### XXX THIS NEEDS SERIOUS SCRUTINY XXX ###############

Reply via email to