]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Pull misc into release branch
authorLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 06:27:40 +0000 (02:27 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 06:27:40 +0000 (02:27 -0400)
Conflicts:

Documentation/feature-removal-schedule.txt

1  2 
Documentation/feature-removal-schedule.txt
arch/i386/kernel/acpi/boot.c
drivers/acpi/Kconfig
drivers/acpi/processor_idle.c
drivers/acpi/sleep/main.c
include/acpi/acmacros.h

index a5cb7839a679eadc040c71a6db06d33af5083ffc,769862197ac81139530ac44164bba6e5a631c163..c175eedadb5fb358f589d93da61720e9453b73ad
@@@ -26,7 -26,9 +26,7 @@@ Who:  Hans Verkuil <hverkuil@xs4all.nl> 
  
  ---------------------------
  
 -What: /sys/devices/.../power/state
 -      dev->power.power_state
 -      dpm_runtime_{suspend,resume)()
 +What: dev->power.power_state
  When: July 2007
  Why:  Broken design for runtime control over driver power states, confusing
        driver-internal runtime power management with:  mechanisms to support
@@@ -39,6 -41,24 +39,6 @@@ Who: Pavel Machek <pavel@suse.cz
  
  ---------------------------
  
 -What: RAW driver (CONFIG_RAW_DRIVER)
 -When: December 2005
 -Why:  declared obsolete since kernel 2.6.3
 -      O_DIRECT can be used instead
 -Who:  Adrian Bunk <bunk@stusta.de>
 -
 ----------------------------
 -
 -What: raw1394: requests of type RAW1394_REQ_ISO_SEND, RAW1394_REQ_ISO_LISTEN
 -When: June 2007
 -Why:  Deprecated in favour of the more efficient and robust rawiso interface.
 -      Affected are applications which use the deprecated part of libraw1394
 -      (raw1394_iso_write, raw1394_start_iso_write, raw1394_start_iso_rcv,
 -      raw1394_stop_iso_rcv) or bypass libraw1394.
 -Who:  Dan Dennedy <dan@dennedy.org>, Stefan Richter <stefanr@s5r6.in-berlin.de>
 -
 ----------------------------
 -
  What: old NCR53C9x driver
  When: October 2007
  Why:  Replaced by the much better esp_scsi driver.  Actual low-level
@@@ -51,7 -71,6 +51,7 @@@ Who:  David Miller <davem@davemloft.net
  What: Video4Linux API 1 ioctls and video_decoder.h from Video devices.
  When: December 2006
  Files:        include/linux/video_decoder.h
 +Check:        include/linux/video_decoder.h
  Why:  V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6
        series. The old API have lots of drawbacks and don't provide enough
        means to work with all video and audio standards. The newer API is
@@@ -85,7 -104,6 +85,7 @@@ Who: Dominik Brodowski <linux@brodo.de
  What: remove EXPORT_SYMBOL(kernel_thread)
  When: August 2006
  Files:        arch/*/kernel/*_ksyms.c
 +Check:        kernel_thread
  Why:  kernel_thread is a low-level implementation detail.  Drivers should
          use the <linux/kthread.h> API instead which shields them from
        implementation details and provides a higherlevel interface that
@@@ -110,6 -128,13 +110,6 @@@ Who:    Adrian Bunk <bunk@stusta.de
  
  ---------------------------
  
 -What:  drivers depending on OSS_OBSOLETE_DRIVER
 -When:  options in 2.6.20, code in 2.6.22
 -Why:   OSS drivers with ALSA replacements
 -Who:   Adrian Bunk <bunk@stusta.de>
 -
 ----------------------------
 -
  What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports
        (temporary transition config option provided until then)
        The transition config option will also be removed at the same time.
@@@ -136,15 -161,6 +136,15 @@@ Who:     Greg Kroah-Hartman <gregkh@suse.de
  
  ---------------------------
  
 +What: vm_ops.nopage
 +When: Soon, provided in-kernel callers have been converted
 +Why:  This interface is replaced by vm_ops.fault, but it has been around
 +      forever, is used by a lot of drivers, and doesn't cost much to
 +      maintain.
 +Who:  Nick Piggin <npiggin@suse.de>
 +
 +---------------------------
 +
  What: Interrupt only SA_* flags
  When: September 2007
  Why:  The interrupt related SA_* flags are replaced by IRQF_* to move them
@@@ -164,6 -180,15 +164,6 @@@ Who:      Kay Sievers <kay.sievers@suse.de
  
  ---------------------------
  
 -What: i2c-isa
 -When: December 2006
 -Why:  i2c-isa is a non-sense and doesn't fit in the device driver
 -      model. Drivers relying on it are better implemented as platform
 -      drivers.
 -Who:  Jean Delvare <khali@linux-fr.org>
 -
 ----------------------------
 -
  What: i2c_adapter.list
  When: July 2007
  Why:  Superfluous, this list duplicates the one maintained by the driver
@@@ -180,24 -205,33 +180,11 @@@ Who:   Adrian Bunk <bunk@stusta.de
  
  ---------------------------
  
- What: /sys/firmware/acpi/namespace
- When: 2.6.21
- Why:  The ACPI namespace is effectively the symbol list for
-       the BIOS.  The device names are completely arbitrary
-       and have no place being exposed to user-space.
 -What: ACPI hooks (X86_SPEEDSTEP_CENTRINO_ACPI) in speedstep-centrino driver
 -When: December 2006
 -Why:  Speedstep-centrino driver with ACPI hooks and acpi-cpufreq driver are
 -      functionally very much similar. They talk to ACPI in same way. Only
 -      difference between them is the way they do frequency transitions.
 -      One uses MSRs and the other one uses IO ports. Functionaliy of
 -      speedstep_centrino with ACPI hooks is now merged into acpi-cpufreq.
 -      That means one common driver will support all Intel Enhanced Speedstep
 -      capable CPUs. That means less confusion over name of
 -      speedstep-centrino driver (with that driver supposed to be used on
 -      non-centrino platforms). That means less duplication of code and
 -      less maintenance effort and no possibility of these two drivers
 -      going out of sync.
 -      Current users of speedstep_centrino with ACPI hooks are requested to
 -      switch over to acpi-cpufreq driver. speedstep-centrino will continue
 -      to work using older non-ACPI static table based scheme even after this
 -      date.
--
-       For those interested in the BIOS ACPI namespace,
-       the BIOS can be extracted and disassembled with acpidump
-       and iasl as documented in the pmtools package here:
-       http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils
- Who:  Len Brown <len.brown@intel.com>
 -Who:  Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
--
-----------------------------
--
  What: ACPI procfs interface
- When: July 2007
- Why:  After ACPI sysfs conversion, ACPI attributes will be duplicated
-       in sysfs and the ACPI procfs interface should be removed.
+ When: July 2008
+ Why:  ACPI sysfs conversion should be finished by January 2008.
+       ACPI procfs interface will be removed in July 2008 so that
+       there is enough time for the user space to catch up.
  Who:  Zhang Rui <rui.zhang@intel.com>
  
  ---------------------------
@@@ -210,6 -244,14 +197,6 @@@ Who:      Len Brown <len.brown@intel.com
  
  ---------------------------
  
 -What:   sk98lin network driver
 -When:   July 2007
 -Why:    In kernel tree version of driver is unmaintained. Sk98lin driver
 -      replaced by the skge driver. 
 -Who:    Stephen Hemminger <shemminger@osdl.org>
 -
 ----------------------------
 -
  What: Compaq touchscreen device emulation
  When: Oct 2007
  Files:        drivers/input/tsdev.c
@@@ -224,6 -266,25 +211,6 @@@ Who:      Richard Purdie <rpurdie@rpsys.net
  
  ---------------------------
  
 -What: Multipath cached routing support in ipv4
 -When: in 2.6.23
 -Why:  Code was merged, then submitter immediately disappeared leaving
 -      us with no maintainer and lots of bugs.  The code should not have
 -      been merged in the first place, and many aspects of it's
 -      implementation are blocking more critical core networking
 -      development.  It's marked EXPERIMENTAL and no distribution
 -      enables it because it cause obscure crashes due to unfixable bugs
 -      (interfaces don't return errors so memory allocation can't be
 -      handled, calling contexts of these interfaces make handling
 -      errors impossible too because they get called after we've
 -      totally commited to creating a route object, for example).
 -      This problem has existed for years and no forward progress
 -      has ever been made, and nobody steps up to try and salvage
 -      this code, so we're going to finally just get rid of it.
 -Who:  David S. Miller <davem@davemloft.net>
 -
 ----------------------------
 -
  What: read_dev_chars(), read_conf_data{,_lpm}() (s390 common I/O layer)
  When: December 2007
  Why:  These functions are a leftover from 2.4 times. They have several
@@@ -248,14 -309,6 +235,14 @@@ Who:     Jean Delvare <khali@linux-fr.org
  
  ---------------------------
  
 +What: 'time' kernel boot parameter
 +When: January 2008
 +Why:  replaced by 'printk.time=<value>' so that printk timestamps can be
 +      enabled or disabled as needed
 +Who:  Randy Dunlap <randy.dunlap@oracle.com>
 +
 +---------------------------
 +
  What:  drivers depending on OSS_OBSOLETE
  When:  options in 2.6.23, code in 2.6.25
  Why:   obsolete OSS drivers
@@@ -281,41 -334,3 +268,41 @@@ Who:  Tejun Heo <htejun@gmail.com
  
  ---------------------------
  
 +What: Legacy RTC drivers (under drivers/i2c/chips)
 +When: November 2007
 +Why:  Obsolete. We have a RTC subsystem with better drivers.
 +Who:  Jean Delvare <khali@linux-fr.org>
 +
 +---------------------------
 +
 +What: iptables SAME target
 +When: 1.1. 2008
 +Files:        net/ipv4/netfilter/ipt_SAME.c, include/linux/netfilter_ipv4/ipt_SAME.h
 +Why:  Obsolete for multiple years now, NAT core provides the same behaviour.
 +      Unfixable broken wrt. 32/64 bit cleanness.
 +Who:  Patrick McHardy <kaber@trash.net>
 +
 +---------------------------
 +
 +What: The arch/ppc and include/asm-ppc directories
 +When: Jun 2008
 +Why:  The arch/powerpc tree is the merged architecture for ppc32 and ppc64
 +      platforms.  Currently there are efforts underway to port the remaining
 +      arch/ppc platforms to the merged tree.  New submissions to the arch/ppc
 +      tree have been frozen with the 2.6.22 kernel release and that tree will
 +      remain in bug-fix only mode until its scheduled removal.  Platforms
 +      that are not ported by June 2008 will be removed due to the lack of an
 +      interested maintainer.
 +Who:  linuxppc-dev@ozlabs.org
 +
 +---------------------------
 +
 +What: mthca driver's MSI support
 +When: January 2008
 +Files:        drivers/infiniband/hw/mthca/*.[ch]
 +Why:  All mthca hardware also supports MSI-X, which provides
 +      strictly more functionality than MSI.  So there is no point in
 +      having both MSI-X and MSI support in the driver.
 +Who:  Roland Dreier <rolandd@cisco.com>
 +
 +---------------------------
index b87cedeaf59b023ccc95ab74788dcc69a0c66beb,a2c8b9efd7001b640715494114b0ba8fa6c99f3e..cacdd883bf2b8d545b7045daf79f2ad8325dd69a
@@@ -618,11 -618,11 +618,11 @@@ static int __init acpi_parse_sbf(struc
  #ifdef CONFIG_HPET_TIMER
  #include <asm/hpet.h>
  
 +static struct __initdata resource *hpet_res;
 +
  static int __init acpi_parse_hpet(struct acpi_table_header *table)
  {
        struct acpi_table_hpet *hpet_tbl;
 -      struct resource *hpet_res;
 -      resource_size_t res_start;
  
        hpet_tbl = (struct acpi_table_hpet *)table;
        if (!hpet_tbl) {
                return -1;
        }
  
 -#define HPET_RESOURCE_NAME_SIZE 9
 -      hpet_res = alloc_bootmem(sizeof(*hpet_res) + HPET_RESOURCE_NAME_SIZE);
 -      if (hpet_res) {
 -              memset(hpet_res, 0, sizeof(*hpet_res));
 -              hpet_res->name = (void *)&hpet_res[1];
 -              hpet_res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
 -              snprintf((char *)hpet_res->name, HPET_RESOURCE_NAME_SIZE,
 -                       "HPET %u", hpet_tbl->sequence);
 -              hpet_res->end = (1 * 1024) - 1;
 -      }
 -
        hpet_address = hpet_tbl->address.address;
        printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
               hpet_tbl->id, hpet_address);
  
 -      res_start = hpet_address;
 +      /*
 +       * Allocate and initialize the HPET firmware resource for adding into
 +       * the resource tree during the lateinit timeframe.
 +       */
 +#define HPET_RESOURCE_NAME_SIZE 9
 +      hpet_res = alloc_bootmem(sizeof(*hpet_res) + HPET_RESOURCE_NAME_SIZE);
  
 -      if (hpet_res) {
 -              hpet_res->start = res_start;
 -              hpet_res->end += res_start;
 -              insert_resource(&iomem_resource, hpet_res);
 -      }
 +      if (!hpet_res)
 +              return 0;
 +
 +      memset(hpet_res, 0, sizeof(*hpet_res));
 +      hpet_res->name = (void *)&hpet_res[1];
 +      hpet_res->flags = IORESOURCE_MEM;
 +      snprintf((char *)hpet_res->name, HPET_RESOURCE_NAME_SIZE, "HPET %u",
 +               hpet_tbl->sequence);
 +
 +      hpet_res->start = hpet_address;
 +      hpet_res->end = hpet_address + (1 * 1024) - 1;
  
        return 0;
  }
 +
 +/*
 + * hpet_insert_resource inserts the HPET resources used into the resource
 + * tree.
 + */
 +static __init int hpet_insert_resource(void)
 +{
 +      if (!hpet_res)
 +              return 1;
 +
 +      return insert_resource(&iomem_resource, hpet_res);
 +}
 +
 +late_initcall(hpet_insert_resource);
 +
  #else
  #define       acpi_parse_hpet NULL
  #endif
@@@ -984,14 -969,6 +984,6 @@@ static struct dmi_system_id __initdata 
                     DMI_MATCH(DMI_PRODUCT_NAME, "PRIMERGY T850"),
                     },
         },
-       {
-        .callback = force_acpi_ht,
-        .ident = "DELL GX240",
-        .matches = {
-                    DMI_MATCH(DMI_BOARD_VENDOR, "Dell Computer Corporation"),
-                    DMI_MATCH(DMI_BOARD_NAME, "OptiPlex GX240"),
-                    },
-        },
        {
         .callback = force_acpi_ht,
         .ident = "HP VISUALIZE NT Workstation",
diff --combined drivers/acpi/Kconfig
index 1121a1f4b5d7bba5ef68a25b4d68938024226110,a02e2f58219c3a39537f9d707304dda2c553e834..501ed6ffa40fd4fcb70f88e4055067a599df0106
@@@ -2,16 -2,12 +2,12 @@@
  # ACPI Configuration
  #
  
- menu "ACPI (Advanced Configuration and Power Interface) Support"
+ menuconfig ACPI
+       bool "ACPI Support (Advanced Configuration and Power Interface) Support"
        depends on !X86_NUMAQ
        depends on !X86_VISWS
        depends on !IA64_HP_SIM
        depends on IA64 || X86
-       depends on PM
- config ACPI
-       bool "ACPI Support"
-       depends on IA64 || X86
        depends on PCI
        depends on PM
        select PNP
@@@ -49,7 -45,6 +45,6 @@@ if ACP
  config ACPI_SLEEP
        bool "Sleep States"
        depends on X86 && (!SMP || SUSPEND_SMP)
-       depends on PM
        default y
        ---help---
          This option adds support for ACPI suspend states. 
@@@ -82,7 -77,6 +77,6 @@@ config ACPI_SLEEP_PROC_SLEE
  
  config ACPI_PROCFS
        bool "Procfs interface (deprecated)"
-       depends on ACPI
        default y
        ---help---
          The Procfs interface for ACPI is made optional for backward compatibility.
@@@ -280,14 -274,6 +274,14 @@@ config ACPI_DEBU
          of verbosity. Saying Y enables these statements. This will increase
          your kernel size by around 50K.
  
 +config ACPI_DEBUG_FUNC_TRACE
 +      bool "Additionally enable ACPI function tracing"
 +      default n
 +      depends on ACPI_DEBUG
 +      help
 +        ACPI Debug Statements slow down ACPI processing. Function trace
 +        is about half of the penalty and is rarely useful.
 +
  config ACPI_EC
        bool
        default y
@@@ -338,7 -324,6 +332,6 @@@ config ACPI_CONTAINE
  
  config ACPI_HOTPLUG_MEMORY
        tristate "Memory Hotplug"
-       depends on ACPI
        depends on MEMORY_HOTPLUG
        default n
        help
@@@ -367,5 -352,3 +360,3 @@@ config ACPI_SB
          to today's ACPI "Control Method" battery.
  
  endif # ACPI
- endmenu
index bb5d23be42607fe4ebb3c91c6dd118287242131b,36dc1d26520a0b8969528668bd74720dc391a0ad..a898991f77cbcfb18fc41c481afeca1fc63f0697
@@@ -332,18 -332,16 +332,18 @@@ static void acpi_processor_idle(void
        int sleep_ticks = 0;
        u32 t1, t2 = 0;
  
 -      pr = processors[smp_processor_id()];
 -      if (!pr)
 -              return;
 -
        /*
         * Interrupts must be disabled during bus mastering calculations and
         * for C2/C3 transitions.
         */
        local_irq_disable();
  
 +      pr = processors[smp_processor_id()];
 +      if (!pr) {
 +              local_irq_enable();
 +              return;
 +      }
 +
        /*
         * Check whether we truly need to go idle, or should
         * reschedule:
                /* Get end time (ticks) */
                t2 = inl(acpi_gbl_FADT.xpm_timer_block.address);
  
 -#ifdef CONFIG_GENERIC_TIME
 +#if defined (CONFIG_GENERIC_TIME) && defined (CONFIG_X86_TSC)
                /* TSC halts in C2, so notify users */
                mark_tsc_unstable("possible TSC halt in C2");
  #endif
  
        case ACPI_STATE_C3:
  
-               if (pr->flags.bm_check) {
+               /*
+                * disable bus master
+                * bm_check implies we need ARB_DIS
+                * !bm_check implies we need cache flush
+                * bm_control implies whether we can do ARB_DIS
+                *
+                * That leaves a case where bm_check is set and bm_control is
+                * not set. In that case we cannot do much, we enter C3
+                * without doing anything.
+                */
+               if (pr->flags.bm_check && pr->flags.bm_control) {
                        if (atomic_inc_return(&c3_cpu_count) ==
                            num_online_cpus()) {
                                /*
                                 */
                                acpi_set_register(ACPI_BITREG_ARB_DISABLE, 1);
                        }
-               } else {
+               } else if (!pr->flags.bm_check) {
                        /* SMP with no shared cache... Invalidate cache  */
                        ACPI_FLUSH_CPU_CACHE();
                }
                acpi_cstate_enter(cx);
                /* Get end time (ticks) */
                t2 = inl(acpi_gbl_FADT.xpm_timer_block.address);
-               if (pr->flags.bm_check) {
+               if (pr->flags.bm_check && pr->flags.bm_control) {
                        /* Enable bus master arbitration */
                        atomic_dec(&c3_cpu_count);
                        acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0);
                }
  
 -#ifdef CONFIG_GENERIC_TIME
 +#if defined (CONFIG_GENERIC_TIME) && defined (CONFIG_X86_TSC)
                /* TSC halts in C3, so notify users */
                mark_tsc_unstable("TSC halts in C3");
  #endif
@@@ -961,9 -969,9 +971,9 @@@ static void acpi_processor_power_verify
        if (pr->flags.bm_check) {
                /* bus mastering control is necessary */
                if (!pr->flags.bm_control) {
+                       /* In this case we enter C3 without bus mastering */
                        ACPI_DEBUG_PRINT((ACPI_DB_INFO,
-                                         "C3 support requires bus mastering control\n"));
-                       return;
+                               "C3 support without bus mastering control\n"));
                }
        } else {
                /*
index 42127c0d612c8940d1060c67a5e8b5893567ef88,56afb1c1a494b2040c3f26b65df4d8c2ed8a6272..3279e72a94f81c0c532f72a9bd0284861a1ba345
@@@ -210,33 -210,12 +210,28 @@@ static void acpi_hibernation_finish(voi
  
        /* reset firmware waking vector */
        acpi_set_firmware_waking_vector((acpi_physical_address) 0);
-       if (init_8259A_after_S1) {
-               printk("Broken toshiba laptop -> kicking interrupts\n");
-               init_8259A(0);
-       }
  }
  
 +static int acpi_hibernation_pre_restore(void)
 +{
 +      acpi_status status;
 +
 +      status = acpi_hw_disable_all_gpes();
 +
 +      return ACPI_SUCCESS(status) ? 0 : -EFAULT;
 +}
 +
 +static void acpi_hibernation_restore_cleanup(void)
 +{
 +      acpi_hw_enable_all_runtime_gpes();
 +}
 +
  static struct hibernation_ops acpi_hibernation_ops = {
        .prepare = acpi_hibernation_prepare,
        .enter = acpi_hibernation_enter,
        .finish = acpi_hibernation_finish,
 +      .pre_restore = acpi_hibernation_pre_restore,
 +      .restore_cleanup = acpi_hibernation_restore_cleanup,
  };
  #endif                                /* CONFIG_SOFTWARE_SUSPEND */
  
diff --combined include/acpi/acmacros.h
index c22f6da6d3726ad13a1937422ce4a21519feda98,e64a748bdd2eb7bdd5daf9dfc5f9ab7d279774bb..45662f6dbdb66b34b8966670187ffd6655737aa6
  #define ACPI_FUNCTION_NAME(name)
  #endif
  
 +#ifdef DEBUG_FUNC_TRACE
 +
  #define ACPI_FUNCTION_TRACE(a)          ACPI_FUNCTION_NAME(a) \
                          acpi_ut_trace(ACPI_DEBUG_PARAMETERS)
  #define ACPI_FUNCTION_TRACE_PTR(a,b)    ACPI_FUNCTION_NAME(a) \
  
  #endif                                /* ACPI_SIMPLE_RETURN_MACROS */
  
 +#else /* !DEBUG_FUNC_TRACE */
 +
 +#define ACPI_FUNCTION_TRACE(a)
 +#define ACPI_FUNCTION_TRACE_PTR(a,b)
 +#define ACPI_FUNCTION_TRACE_U32(a,b)
 +#define ACPI_FUNCTION_TRACE_STR(a,b)
 +#define ACPI_FUNCTION_EXIT
 +#define ACPI_FUNCTION_STATUS_EXIT(s)
 +#define ACPI_FUNCTION_VALUE_EXIT(s)
 +#define ACPI_FUNCTION_TRACE(a)
 +#define ACPI_FUNCTION_ENTRY()
 +
 +#define return_VOID                     return
 +#define return_ACPI_STATUS(s)           return(s)
 +#define return_VALUE(s)                 return(s)
 +#define return_UINT8(s)                 return(s)
 +#define return_UINT32(s)                return(s)
 +#define return_PTR(s)                   return(s)
 +
 +#endif /* DEBUG_FUNC_TRACE */
 +
  /* Conditional execution */
  
  #define ACPI_DEBUG_EXEC(a)              a
  #define ACPI_DEBUG_EXEC(a)
  #define ACPI_NORMAL_EXEC(a)             a;
  
- #define ACPI_DEBUG_DEFINE(a)
- #define ACPI_DEBUG_ONLY_MEMBERS(a)
- #define ACPI_FUNCTION_NAME(a)
- #define ACPI_FUNCTION_TRACE(a)
- #define ACPI_FUNCTION_TRACE_PTR(a,b)
- #define ACPI_FUNCTION_TRACE_U32(a,b)
- #define ACPI_FUNCTION_TRACE_STR(a,b)
- #define ACPI_FUNCTION_EXIT
- #define ACPI_FUNCTION_STATUS_EXIT(s)
- #define ACPI_FUNCTION_VALUE_EXIT(s)
- #define ACPI_FUNCTION_ENTRY()
- #define ACPI_DUMP_STACK_ENTRY(a)
- #define ACPI_DUMP_OPERANDS(a,b,c,d,e)
- #define ACPI_DUMP_ENTRY(a,b)
- #define ACPI_DUMP_TABLES(a,b)
- #define ACPI_DUMP_PATHNAME(a,b,c,d)
- #define ACPI_DUMP_RESOURCE_LIST(a)
- #define ACPI_DUMP_BUFFER(a,b)
- #define ACPI_DEBUG_PRINT(pl)
- #define ACPI_DEBUG_PRINT_RAW(pl)
+ #define ACPI_DEBUG_DEFINE(a)          do { } while(0)
+ #define ACPI_DEBUG_ONLY_MEMBERS(a)    do { } while(0)
+ #define ACPI_FUNCTION_NAME(a)         do { } while(0)
+ #define ACPI_FUNCTION_TRACE(a)                do { } while(0)
+ #define ACPI_FUNCTION_TRACE_PTR(a,b)  do { } while(0)
+ #define ACPI_FUNCTION_TRACE_U32(a,b)  do { } while(0)
+ #define ACPI_FUNCTION_TRACE_STR(a,b)  do { } while(0)
+ #define ACPI_FUNCTION_EXIT            do { } while(0)
+ #define ACPI_FUNCTION_STATUS_EXIT(s)  do { } while(0)
+ #define ACPI_FUNCTION_VALUE_EXIT(s)   do { } while(0)
+ #define ACPI_FUNCTION_ENTRY()         do { } while(0)
+ #define ACPI_DUMP_STACK_ENTRY(a)      do { } while(0)
+ #define ACPI_DUMP_OPERANDS(a,b,c,d,e) do { } while(0)
+ #define ACPI_DUMP_ENTRY(a,b)          do { } while(0)
+ #define ACPI_DUMP_TABLES(a,b)         do { } while(0)
+ #define ACPI_DUMP_PATHNAME(a,b,c,d)   do { } while(0)
+ #define ACPI_DUMP_RESOURCE_LIST(a)    do { } while(0)
+ #define ACPI_DUMP_BUFFER(a,b)         do { } while(0)
+ #define ACPI_DEBUG_PRINT(pl)          do { } while(0)
+ #define ACPI_DEBUG_PRINT_RAW(pl)      do { } while(0)
  
  #define return_VOID                     return
  #define return_ACPI_STATUS(s)           return(s)