HomeFreeBSD

Change major()/minor() to work with 64bit dev_t.

Description

Change major()/minor() to work with 64bit dev_t.

Since traditional types for the macros values are int, remove the
cookie trick and just split the dev_t at the word boundary.

Reported by: Victor Stinner <victor.stinner@gmail.com>
PR: 221048
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on
Parents
rS321919: Do not call trapsignal() after handling usermode fault or interrupt,
Branches
Unknown
Tags
Unknown