From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Teach acpi how to get power-of-two Date: Sat, 28 Feb 2004 16:44:44 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040228154444.GA10309@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: ACPI mailing list , Rusty trivial patch monkey Russell List-Id: linux-acpi@vger.kernel.org Hi! I do not know why ACPI people did this... computing 1<throttling.state_count = POWER_OF_2[acpi_fadt.duty_width]; + pr->throttling.state_count = 1<