x86: Trivial whitespace cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Cc: Vegard Nossum <vegardno@ifi.uio.no> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Alok N Kataria <akataria@vmware.com> Cc: "Tan Wei Chong" <wei.chong.tan@intel.com> Cc: Len Brown <len.brown@intel.com> Cc: Lin Ming <ming.m.lin@intel.com> Cc: Bob Moore <robert.moore@intel.com> LKML-Reference: <1253137123-18047-2-git-send-email-felipe.contreras@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
8312136fa8
commit
878f4f533e
@ -65,7 +65,6 @@ static __always_inline void *__constant_memcpy(void *to, const void *from,
|
|||||||
case 4:
|
case 4:
|
||||||
*(int *)to = *(int *)from;
|
*(int *)to = *(int *)from;
|
||||||
return to;
|
return to;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
*(short *)to = *(short *)from;
|
*(short *)to = *(short *)from;
|
||||||
*((char *)to + 2) = *((char *)from + 2);
|
*((char *)to + 2) = *((char *)from + 2);
|
||||||
|
@ -670,7 +670,7 @@ static int time_cpufreq_notifier(struct notifier_block *nb, unsigned long val,
|
|||||||
if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
|
if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
|
||||||
(val == CPUFREQ_POSTCHANGE && freq->old > freq->new) ||
|
(val == CPUFREQ_POSTCHANGE && freq->old > freq->new) ||
|
||||||
(val == CPUFREQ_RESUMECHANGE)) {
|
(val == CPUFREQ_RESUMECHANGE)) {
|
||||||
*lpj = cpufreq_scale(loops_per_jiffy_ref, ref_freq, freq->new);
|
*lpj = cpufreq_scale(loops_per_jiffy_ref, ref_freq, freq->new);
|
||||||
|
|
||||||
tsc_khz = cpufreq_scale(tsc_khz_ref, ref_freq, freq->new);
|
tsc_khz = cpufreq_scale(tsc_khz_ref, ref_freq, freq->new);
|
||||||
if (!(freq->flags & CPUFREQ_CONST_LOOPS))
|
if (!(freq->flags & CPUFREQ_CONST_LOOPS))
|
||||||
|
@ -275,7 +275,6 @@ void acpi_tb_parse_fadt(u32 table_index)
|
|||||||
|
|
||||||
void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
|
void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
|
||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if the FADT is larger than the largest table that we expect
|
* Check if the FADT is larger than the largest table that we expect
|
||||||
* (the ACPI 2.0/3.0 version). If so, truncate the table, and issue
|
* (the ACPI 2.0/3.0 version). If so, truncate the table, and issue
|
||||||
|
Loading…
Reference in New Issue
Block a user