include/asm-x86/acpi.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Родитель
d3463c5a66
Коммит
8dbeeb24e4
|
@ -67,16 +67,16 @@ int __acpi_release_global_lock(unsigned int *lock);
|
||||||
*/
|
*/
|
||||||
#define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32) \
|
#define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32) \
|
||||||
asm("divl %2;" \
|
asm("divl %2;" \
|
||||||
:"=a"(q32), "=d"(r32) \
|
: "=a"(q32), "=d"(r32) \
|
||||||
:"r"(d32), \
|
: "r"(d32), \
|
||||||
"0"(n_lo), "1"(n_hi))
|
"0"(n_lo), "1"(n_hi))
|
||||||
|
|
||||||
|
|
||||||
#define ACPI_SHIFT_RIGHT_64(n_hi, n_lo) \
|
#define ACPI_SHIFT_RIGHT_64(n_hi, n_lo) \
|
||||||
asm("shrl $1,%2 ;" \
|
asm("shrl $1,%2 ;" \
|
||||||
"rcrl $1,%3;" \
|
"rcrl $1,%3;" \
|
||||||
:"=r"(n_hi), "=r"(n_lo) \
|
: "=r"(n_hi), "=r"(n_lo) \
|
||||||
:"0"(n_hi), "1"(n_lo))
|
: "0"(n_hi), "1"(n_lo))
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#ifdef CONFIG_ACPI
|
||||||
extern int acpi_lapic;
|
extern int acpi_lapic;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче