vserver 1.9.5.x5
[linux-2.6.git] / drivers / acpi / utilities / utxface.c
index 45c14f9..97a91f3 100644 (file)
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2004, R. Byron Moore
+ * Copyright (C) 2000 - 2005, R. Byron Moore
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -41,6 +41,7 @@
  * POSSIBILITY OF SUCH DAMAGES.
  */
 
+#include <linux/module.h>
 
 #include <acpi/acpi.h>
 #include <acpi/acevents.h>
@@ -342,6 +343,8 @@ acpi_terminate (void)
 }
 
 
+#ifdef ACPI_FUTURE_USAGE
+
 /*****************************************************************************
  *
  * FUNCTION:    acpi_subsystem_status
@@ -455,6 +458,7 @@ acpi_get_system_info (
 
        return_ACPI_STATUS (AE_OK);
 }
+EXPORT_SYMBOL(acpi_get_system_info);
 
 
 /*****************************************************************************
@@ -489,6 +493,8 @@ acpi_install_initialization_handler (
        return AE_OK;
 }
 
+#endif  /*  ACPI_FUTURE_USAGE  */
+
 
 /*****************************************************************************
  *
@@ -508,10 +514,12 @@ acpi_purge_cached_objects (void)
        ACPI_FUNCTION_TRACE ("acpi_purge_cached_objects");
 
 
+#ifdef ACPI_ENABLE_OBJECT_CACHE
        acpi_ut_delete_generic_state_cache ();
        acpi_ut_delete_object_cache ();
        acpi_ds_delete_walk_state_cache ();
        acpi_ps_delete_parse_cache ();
+#endif
 
        return_ACPI_STATUS (AE_OK);
 }