lkml.org 
[lkml]   [2007]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Could the k8temp driver be interfering with ACPI?
    Hi Dave,

    On Mon, 2 Apr 2007 15:22:09 -0400, Dave Jones wrote:
    > On Mon, Apr 02, 2007 at 05:48:59PM +0200, Jean Delvare wrote:
    > > + u8 val;
    > > +#ifdef CONFIG_ACPI
    > > + acpi_ut_acquire_mutex(ACPI_MTX_INTERPRETER);
    > > +#endif
    > > outb(reg, data->addr + ADDR_REG_OFFSET);
    > > - return inb(data->addr + DATA_REG_OFFSET);
    > > + val = inb(data->addr + DATA_REG_OFFSET);
    > > +#ifdef CONFIG_ACPI
    > > + acpi_ut_release_mutex(ACPI_MTX_INTERPRETER);
    > > +#endif
    > > + return val;
    > > ... deletia, more of the same.
    >
    > it'd probably end up a lot cleaner to #define them to empty macros
    > in the !ACPI case in acpi/acpi.h and just #include it unconditionally.

    Sure, the implementation details can be refined later. I'm only trying
    to see what can be done for now.

    --
    Jean Delvare
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-03 07:55    [W:0.020 / U:2.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site