Skip to contentSkip to conversation

+ acpi-mwait-c-state-fixes.patch added to -mm tree

DISCUSSION Alexey Dobriyan 1 participant 1 message Sep 4, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

arch/i386/kernel/acpi/cstate.c

Quoted 12 lines · On Sun, Sep 03, 2006 at 05:52:20PM -0700, [email protected] wrote:

The patch titled

acpi: mwait/C-state support

has been added to the -mm tree.

arch/i386/kernel/acpi/cstate.c renamed from arch/i386/kernel/acpi/cstate.c~acpi-mwait-c-state-fixes +3 -0
 
+/* The code below handles cstate entry with monitor-mwait pair on Intel*/
+
+struct cstate_entry_s {

If suffix "_s" stands for "struct", it should be removed. You've already typed "struct".

arch/i386/kernel/acpi/cstate.c

Quoted 11 lines
arch/i386/kernel/acpi/cstate.c renamed from arch/i386/kernel/acpi/cstate.c~acpi-mwait-c-state-fixes +10 -0
+	struct {
+		unsigned int eax;
+		unsigned int ecx;
+	} states[ACPI_PROCESSOR_MAX_POWER];
+};
 
+static inline void acpi_processor_ffh_cstate_enter(
+		struct acpi_processor_cx *cstate)
+{
+	return;
+}

Just

	{
	}