patch-2.3.35 linux/include/linux/acpi.h

Next file: linux/include/linux/i2c-old.h
Previous file: linux/include/asm-sparc64/upa.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.34/linux/include/linux/acpi.h linux/include/linux/acpi.h
@@ -236,12 +236,6 @@
 #define ACPI_TMR_TICKS_TO_uS(ticks) \
   (((ticks) * 100) / (ACPI_TMR_HZ / 10000))
 
-/* CPU cycles -> PM timer cycles, looks somewhat heuristic but
-   (ticks = 3/11 * CPU_MHz + 2) comes pretty close for my systems
- */
-#define ACPI_CPU_TO_TMR_TICKS(cycles) \
-  ((cycles) / (3 * (loops_per_sec + 2500) / 500000 / 11 + 2))
-
 /* PM2_CNT flags */
 #define ACPI_ARB_DIS 0x01
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)