Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Mega-kludge: re...
details: https://anonhg.NetBSD.org/src/rev/a4037582dcd1
branches: riastradh-drm2
changeset: 788473:a4037582dcd1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:58:04 2013 +0000
description:
Mega-kludge: reverse sense of PAGE_MASK in <linux/mm.h>.
diffstat:
sys/external/bsd/drm2/include/linux/mm.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 586ca5b279bd -r a4037582dcd1 sys/external/bsd/drm2/include/linux/mm.h
--- a/sys/external/bsd/drm2/include/linux/mm.h Wed Jul 24 03:57:49 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/mm.h Wed Jul 24 03:58:04 2013 +0000
@@ -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 ###############
Home |
Main Index |
Thread Index |
Old Index