netbsd-bugs@netbsd.org
[Top] [All Lists]

Re: lib/39215: getdevmajor()/major() types don't match

Subject: Re: lib/39215: getdevmajor()/major() types don't match
From: Matthias Drochner
Date: Fri, 01 Aug 2008 13:10:11 UTC
Newsgroups: fa.netbsd.bugs

The following reply was made to PR lib/39215; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner@xxxxxxxxxxxxx>
To: christos@xxxxxxxxxx (Christos Zoulas)
Cc: gnats-bugs@xxxxxxxxxx, lib-bug-people@xxxxxxxxxx,
        gnats-admin@xxxxxxxxxx, netbsd-bugs@xxxxxxxxxx
Subject: Re: lib/39215: getdevmajor()/major() types don't match 
Date: Fri, 01 Aug 2008 15:04:56 +0200

 christos@xxxxxxxxxx said:
 > Unless you assume that the major fits in 31 bits.
 
 Wouldn't that be reasonable? Forcing 32-bit CPUs
 to do quad arithmetics on devsw lookups etc would
 be a bit wasteful...
 
 best regards
 Matthias
 
 
 
 
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
 Dr. Sebastian M. Schmidt
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 

<Prev in Thread] Current Thread [Next in Thread>