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>] [day] [month] [year] [list]
Date:	Tue, 07 Sep 2010 18:22:07 +0400
From:	Tkhai Kirill <tkhai@...dex.ru>
To:	linux-kernel@...r.kernel.org
Cc:	Ingo Molnar <mingo@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH]RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define

RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
Signed-off-by: Tkhai Kirill <tkhai@...dex.ru>
---

Fixed compilation errors. Kernel version 2.6.33.7-rt29.

diff -uprN a/arch/sparc/include/asm/rwsem.h b/arch/sparc/include/asm/rwsem.h
--- a/arch/sparc/include/asm/rwsem.h	2010-09-07 17:44:51.727914479 +0400
+++ b/arch/sparc/include/asm/rwsem.h	2010-09-07 17:35:40.423917446 +0400
@@ -75,7 +75,7 @@ static inline void rwsem_atomic_add(int 
 	atomic_add(delta, (atomic_t *)(&sem->count));
 }
 
-static inline int anon_rwsem_is_locked(struct rw_semaphore *sem)
+static inline int anon_rwsem_is_locked(struct rw_anon_semaphore *sem)
 {
 	return (sem->count != 0);
 }
diff -uprN a/mm/highmem.c b/mm/highmem.c
--- a/mm/highmem.c	2010-09-07 17:44:58.003917532 +0400
+++ b/mm/highmem.c	2010-09-07 17:39:43.970912094 +0400
@@ -590,7 +590,7 @@ static int __set_page_address(struct pag
 
 #endif	/* defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL) */
 
-#if defined(CONFIG_HIGHMEM) || defined(HASHED_PAGE_VIRTUAL)
+#if defined(WANT_PAGE_VIRTUAL) || defined(HASHED_PAGE_VIRTUAL)
 
 void __init page_address_init(void)
 {
--
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