Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 13:28:49 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        current@FreeBSD.ORG
Subject:   btokup() macro in sys/malloc.h
Message-ID:  <199901272128.NAA56542@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
    Is this parenthesization correct ?

    OLD

#define btokup(addr)    (&kmemusage[(caddr_t)(addr) - kmembase >> PAGE_SHIFT])

    NEW

#define btokup(addr)    (&kmemusage[((caddr_t)(addr) - kmembase) >> PAGE_SHIFT])

					-Matt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901272128.NAA56542>