Fix a common typo in source code comments
- s/aligment/alignment/ MFC after: 5 days
This commit is contained in:
parent
1da11b8ac3
commit
a1581cd735
@ -249,9 +249,9 @@ __libc_free_tls(void *tcb, size_t tcbsize, size_t tcbalign __unused)
|
||||
*
|
||||
* where:
|
||||
* extra_size is tcbsize - TLS_TCB_SIZE
|
||||
* post_size is used to adjust TCB to TLS aligment for first version of TLS
|
||||
* post_size is used to adjust TCB to TLS alignment for first version of TLS
|
||||
* layout and is always 0 for second version.
|
||||
* pre_size is used to adjust TCB aligment for first version and to adjust
|
||||
* pre_size is used to adjust TCB alignment for first version and to adjust
|
||||
* TLS alignment for second version.
|
||||
*
|
||||
*/
|
||||
|
@ -275,7 +275,7 @@ The caller can specify the
|
||||
and
|
||||
.Fa end
|
||||
of an acceptable range,
|
||||
as well as a boundary restriction and required aligment,
|
||||
as well as a boundary restriction and required alignment,
|
||||
and the code will attempt to find a free segment which fits.
|
||||
The
|
||||
.Fa start
|
||||
@ -288,7 +288,7 @@ Therefore,
|
||||
must be \[<=]
|
||||
.Fa end
|
||||
for any allocation to happen.
|
||||
The aligment requirement
|
||||
The alignment requirement
|
||||
.Pq if any
|
||||
is specified in
|
||||
.Fa flags .
|
||||
|
@ -409,7 +409,7 @@ emac_rxeof(struct emac_softc *sc, int count)
|
||||
m->m_len = m->m_pkthdr.len = len - ETHER_CRC_LEN;
|
||||
|
||||
/*
|
||||
* Emac controller needs strict aligment, so to avoid
|
||||
* Emac controller needs strict alignment, so to avoid
|
||||
* copying over an entire frame to align, we allocate
|
||||
* a new mbuf and copy ethernet header + IP header to
|
||||
* the new mbuf. The new mbuf is prepended into the
|
||||
|
@ -2191,7 +2191,7 @@ hdaa_channel_getptr(kobj_t obj, void *data)
|
||||
hdaa_unlock(devinfo);
|
||||
|
||||
/*
|
||||
* Round to available space and force 128 bytes aligment.
|
||||
* Round to available space and force 128 bytes alignment.
|
||||
*/
|
||||
ptr %= ch->blksz * ch->blkcnt;
|
||||
ptr &= HDA_BLK_ALIGN;
|
||||
|
@ -2869,7 +2869,7 @@ uhci_xfer_setup(struct usb_setup_params *parm)
|
||||
* We don't allow alignments of
|
||||
* less than 8 bytes:
|
||||
*
|
||||
* NOTE: Allocating using an aligment
|
||||
* NOTE: Allocating using an alignment
|
||||
* of 1 byte has special meaning!
|
||||
*/
|
||||
if (n < 3) {
|
||||
|
@ -546,7 +546,7 @@ usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg,
|
||||
/*
|
||||
* XXX BUS-DMA workaround - FIXME later:
|
||||
*
|
||||
* We assume that that the aligment at this point of
|
||||
* We assume that that the alignment at this point of
|
||||
* the code is greater than or equal to the size and
|
||||
* less than two times the size, so that if we double
|
||||
* the size, the size will be greater than the
|
||||
|
@ -340,7 +340,7 @@ ENTRY(identify_cpu)
|
||||
testl %eax,%eax
|
||||
jnz try486
|
||||
|
||||
/* NexGen CPU does not have aligment check flag. */
|
||||
/* NexGen CPU does not have alignment check flag. */
|
||||
pushfl
|
||||
movl $0x5555, %eax
|
||||
xorl %edx, %edx
|
||||
|
Loading…
Reference in New Issue
Block a user