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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 25 Sep 2006 14:15:27 +0200
From:	Haavard Skinnemoen <hskinnemoen@...el.com>
To:	"Alexey Dobriyan" <adobriyan@...il.com>
Cc:	"Andrew Morton" <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: unsigned long flags; (was Re: 2.6.18-mm1)

On Sun, 24 Sep 2006 17:47:41 +0400
"Alexey Dobriyan" <adobriyan@...il.com> wrote:

> avr32 does unsigned int flags in show_dtlb_entry() and tlb_show()

Thanks. Andrew, please consider merging the patch below together with
the rest of the AVR32 stuff.

---
From: Haavard Skinnemoen <hskinnemoen@...el.com>

AVR32: Use unsigned long flags for saving interrupt state

Signed-off-by: Haavard Skinnemoen <hskinnemoen@...el.com>
---
 arch/avr32/mm/tlb.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: linux-2.6.18-rc7-mm1/arch/avr32/mm/tlb.c
===================================================================
--- linux-2.6.18-rc7-mm1.orig/arch/avr32/mm/tlb.c	2006-09-25 14:04:22.000000000 +0200
+++ linux-2.6.18-rc7-mm1/arch/avr32/mm/tlb.c	2006-09-25 14:09:22.000000000 +0200
@@ -15,7 +15,8 @@
 
 void show_dtlb_entry(unsigned int index)
 {
-	unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags;
+	unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save;
+	unsigned long flags;
 
 	local_irq_save(flags);
 	mmucr_save = sysreg_read(MMUCR);
@@ -305,7 +306,8 @@ static void tlb_stop(struct seq_file *tl
 
 static int tlb_show(struct seq_file *tlb, void *v)
 {
-	unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags;
+	unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save;
+	unsigned long flags;
 	unsigned long *index = v;
 
 	if (*index == 0)
-
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