2 * arch/ia64/kernel/acpi-processor.c
4 * Copyright (C) 2005 Intel Corporation
5 * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
6 * - Added _PDC for platforms with Intel CPUs
9 #include <linux/kernel.h>
10 #include <linux/module.h>
11 #include <linux/init.h>
12 #include <linux/acpi.h>
14 #include <acpi/processor.h>
17 static void init_intel_pdc(struct acpi_processor
*pr
)
19 u32
*buf
= (u32
*)pr
->pdc
->pointer
->buffer
.pointer
;
21 buf
[2] |= ACPI_PDC_EST_CAPABILITY_SMP
;
26 /* Initialize _PDC data based on the CPU vendor */
27 void arch_acpi_processor_init_pdc(struct acpi_processor
*pr
)
33 EXPORT_SYMBOL(arch_acpi_processor_init_pdc
);
35 void arch_acpi_processor_cleanup_pdc(struct acpi_processor
*pr
)
38 kfree(pr
->pdc
->pointer
->buffer
.pointer
);
39 kfree(pr
->pdc
->pointer
);
45 EXPORT_SYMBOL(arch_acpi_processor_cleanup_pdc
);