lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Jan 2008 22:53:54 +1100
From:	Ben Nizette <bn@...sdigital.com>
To:	akpm@...ux-foundation.org
CC:	Haavard Skinnemoen <hskinnemoen@...el.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH -mm] define empty unxlate_dev_mem_ptr on AVR32


Defined as a NOP on AVR32 as per the asm-generic implementation.
This keeps /dev/mem happy.

Signed-Off-By: Ben Nizette <bn@...sdigital.com>

---
Index: linux-2.6.24-rc8-mm1/include/asm-avr32/io.h
===================================================================
--- linux-2.6.24-rc8-mm1.orig/include/asm-avr32/io.h
+++ linux-2.6.24-rc8-mm1/include/asm-avr32/io.h
@@ -305,6 +305,12 @@ extern void __iounmap(void __iomem *addr
 #define xlate_dev_mem_ptr(p)    __va(p)

 /*
+ * We just keep an empty definition of this around (a-la the asm-generic
+ * implementation) to keep /dev/mem happy
+ */
+#define unxlate_dev_mem_ptr(p, a) {}
+
+/*
  * Convert a virtual cached pointer to an uncached pointer
  */
 #define xlate_dev_kmem_ptr(p)   p
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ