mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 08:05:27 +08:00
typo fixes: mecanism -> mechanism
Signed-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
parent
9aaeded72f
commit
b3c2ffd534
@ -988,7 +988,7 @@ static void reserve_mem(u64 base, u64 size)
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize memory allocation mecanism, parse "memory" nodes and
|
||||
* Initialize memory allocation mechanism, parse "memory" nodes and
|
||||
* obtain that way the top of memory and RMO to setup out local allocator
|
||||
*/
|
||||
static void __init prom_init_mem(void)
|
||||
|
@ -68,7 +68,7 @@ static unsigned int cur_freq;
|
||||
static unsigned int sleep_freq;
|
||||
|
||||
/*
|
||||
* Different models uses different mecanisms to switch the frequency
|
||||
* Different models uses different mechanisms to switch the frequency
|
||||
*/
|
||||
static int (*set_speed_proc)(int low_speed);
|
||||
static unsigned int (*get_speed_proc)(void);
|
||||
|
@ -93,7 +93,7 @@ static char * critical_overtemp_path = "/sbin/critical_overtemp";
|
||||
* 0. This appear to be safe enough for this first version
|
||||
* of the driver, though I would accept any clean patch
|
||||
* doing a better use of the device-tree without turning the
|
||||
* while i2c registration mecanism into a racy mess
|
||||
* while i2c registration mechanism into a racy mess
|
||||
*
|
||||
* Note: Xserve changed this. We have some bits on the K2 bus,
|
||||
* which I arbitrarily set to 0x200. Ultimately, we really want
|
||||
|
@ -382,7 +382,7 @@ struct radeonfb_info {
|
||||
/* Note about this function: we have some rare cases where we must not schedule,
|
||||
* this typically happen with our special "wake up early" hook which allows us to
|
||||
* wake up the graphic chip (and thus get the console back) before everything else
|
||||
* on some machines that support that mecanism. At this point, interrupts are off
|
||||
* on some machines that support that mechanism. At this point, interrupts are off
|
||||
* and scheduling is not permitted
|
||||
*/
|
||||
static inline void _radeon_msleep(struct radeonfb_info *rinfo, unsigned long ms)
|
||||
|
@ -9,7 +9,7 @@
|
||||
/*
|
||||
* The of_platform_bus_type is a bus type used by drivers that do not
|
||||
* attach to a macio or similar bus but still use OF probing
|
||||
* mecanism
|
||||
* mechanism
|
||||
*/
|
||||
extern struct bus_type of_platform_bus_type;
|
||||
|
||||
|
@ -205,7 +205,7 @@ extern void pmf_do_irq(struct pmf_function *func);
|
||||
*
|
||||
* The args array contains as many arguments as is required by the function,
|
||||
* this is dependent on the function you are calling, unfortunately Apple
|
||||
* mecanism provides no way to encode that so you have to get it right at
|
||||
* mechanism provides no way to encode that so you have to get it right at
|
||||
* the call site. Some functions require no args, in which case, you can
|
||||
* pass NULL.
|
||||
*
|
||||
|
@ -170,7 +170,7 @@ extern __inline__ int get_order(unsigned long size)
|
||||
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
|
||||
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
||||
|
||||
/* We do define AT_SYSINFO_EHDR but don't use the gate mecanism */
|
||||
/* We do define AT_SYSINFO_EHDR but don't use the gate mechanism */
|
||||
#define __HAVE_ARCH_GATE_AREA 1
|
||||
|
||||
#include <asm-generic/memory_model.h>
|
||||
|
@ -557,7 +557,7 @@ struct fb_pixmap {
|
||||
* Frame buffer operations
|
||||
*
|
||||
* LOCKING NOTE: those functions must _ALL_ be called with the console
|
||||
* semaphore held, this is the only suitable locking mecanism we have
|
||||
* semaphore held, this is the only suitable locking mechanism we have
|
||||
* in 2.6. Some may be called at interrupt time at this point though.
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user