trivial: fix typo milisecond/millisecond for documentation and source comments.

Signed-off-by: Martin Olsson <martin@minimum.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Martin Olsson 2009-04-23 11:37:37 +02:00 committed by Jiri Kosina
parent 98a1708de1
commit 19af5cdb7c
8 changed files with 9 additions and 9 deletions

View file

@ -698,8 +698,8 @@ very often is not. Abundant use of the inline keyword leads to a much bigger
kernel, which in turn slows the system as a whole down, due to a bigger kernel, which in turn slows the system as a whole down, due to a bigger
icache footprint for the CPU and simply because there is less memory icache footprint for the CPU and simply because there is less memory
available for the pagecache. Just think about it; a pagecache miss causes a available for the pagecache. Just think about it; a pagecache miss causes a
disk seek, which easily takes 5 miliseconds. There are a LOT of cpu cycles disk seek, which easily takes 5 milliseconds. There are a LOT of cpu cycles
that can go into these 5 miliseconds. that can go into these 5 milliseconds.
A reasonable rule of thumb is to not put inline at functions that have more A reasonable rule of thumb is to not put inline at functions that have more
than 3 lines of code in them. An exception to this rule are the cases where than 3 lines of code in them. An exception to this rule are the cases where

View file

@ -577,7 +577,7 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive)
/* /*
* If necessary schedule the packet transfer to occur 'timeout' * If necessary schedule the packet transfer to occur 'timeout'
* miliseconds later in ide_delayed_transfer_pc() after the * milliseconds later in ide_delayed_transfer_pc() after the
* device says it's ready for a packet. * device says it's ready for a packet.
*/ */
if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) { if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) {

View file

@ -502,7 +502,7 @@ tone_off:
break; break;
} }
dsp->cmx_delay = (*((int *)data)) << 3; dsp->cmx_delay = (*((int *)data)) << 3;
/* miliseconds to samples */ /* milliseconds to samples */
if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1)) if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1))
/* clip to half of maximum usable buffer /* clip to half of maximum usable buffer
(half of half buffer) */ (half of half buffer) */

View file

@ -514,7 +514,7 @@ enum ipg_regs {
#define IPG_DMALIST_ALIGN_PAD 0x07 #define IPG_DMALIST_ALIGN_PAD 0x07
#define IPG_MULTICAST_HASHTABLE_SIZE 0x40 #define IPG_MULTICAST_HASHTABLE_SIZE 0x40
/* Number of miliseconds to wait after issuing a software reset. /* Number of milliseconds to wait after issuing a software reset.
* 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation. * 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation.
*/ */
#define IPG_AC_RESETWAIT 0x05 #define IPG_AC_RESETWAIT 0x05

View file

@ -116,7 +116,7 @@ static void zfcp_wka_port_put(struct zfcp_wka_port *wka_port)
{ {
if (atomic_dec_return(&wka_port->refcount) != 0) if (atomic_dec_return(&wka_port->refcount) != 0)
return; return;
/* wait 10 miliseconds, other reqs might pop in */ /* wait 10 milliseconds, other reqs might pop in */
schedule_delayed_work(&wka_port->work, HZ / 100); schedule_delayed_work(&wka_port->work, HZ / 100);
} }

View file

@ -342,7 +342,7 @@ uLONG osdGetThreadID(void);
/* wakes up the specifed thread */ /* wakes up the specifed thread */
void osdWakeThread(uLONG); void osdWakeThread(uLONG);
/* osd sleep for x miliseconds */ /* osd sleep for x milliseconds */
void osdSleep(uLONG); void osdSleep(uLONG);
#define DPT_THREAD_PRIORITY_LOWEST 0x00 #define DPT_THREAD_PRIORITY_LOWEST 0x00

View file

@ -102,7 +102,7 @@ struct edgeport_port {
__u8 shadow_mcr; __u8 shadow_mcr;
__u8 shadow_lsr; __u8 shadow_lsr;
__u8 lsr_mask; __u8 lsr_mask;
__u32 ump_read_timeout; /* Number of miliseconds the UMP will __u32 ump_read_timeout; /* Number of milliseconds the UMP will
wait without data before completing wait without data before completing
a read short */ a read short */
int baud_rate; int baud_rate;

View file

@ -367,7 +367,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x
unsigned int port; unsigned int port;
const unsigned char *image; const unsigned char *image;
/* XILINX reset (wait at least 1 milisecond between reset on and off). */ /* XILINX reset (wait at least 1 millisecond between reset on and off). */
vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK); vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK);
vx_inl(chip, CNTRL); vx_inl(chip, CNTRL);
msleep(10); msleep(10);