Re: [PATCH 06/13] ACPI: thinkpad-acpi: claim tpacpi as an official short handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Apr 2008 00:52:58 -0300 Henrique de Moraes Holschuh wrote:

> Unfortunately, a lot of stuff in the kernel has size limitations, so
> "thinkpad-acpi" ends up eating up too much real estate.  We were using
> "tpacpi" in symbols already, but this shorthand was not visible to
> userland.
> 
> Document that the driver will use tpacpi as a short hand where necessary,
> and use it to name the kernel thread for NVRAM polling (now named
> "ktpacpi_nvramd").
> 
> Also, register a module alias with the shorthand.  One can refer to the
> module using the shorthand name.
> 
> Signed-off-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
> ---
>  Documentation/laptops/thinkpad-acpi.txt |    5 +++++
>  drivers/misc/thinkpad_acpi.c            |    8 ++++++--
>  2 files changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt
> index bbc8275..0f403ff 100644
> --- a/Documentation/laptops/thinkpad-acpi.txt
> +++ b/Documentation/laptops/thinkpad-acpi.txt
> @@ -18,6 +18,11 @@ This driver used to be named ibm-acpi until kernel 2.6.21 and release
>  moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
>  2.6.22, and release 0.14.
>  
> +The driver is named "thinkpad-acpi".  In some places, like module
> +names, "thinkpad_acpi" is used because of userspace issues.
> +
> +"tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
> +long due to lenght limitations on some Linux kernel versions.

               length

>  
>  Status
>  ------

---
~Randy

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux