summaryrefslogtreecommitdiffstats
path: root/osunixxf.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-09-15 20:49:34 +0000
committerjkim <jkim@FreeBSD.org>2010-09-15 20:49:34 +0000
commit222f62b9508c30168451c22ba677efe564ec2bb6 (patch)
tree41eb78500422196a69e6d775b795f5ee483d4a9e /osunixxf.c
parent7246513d8afc4166ea14544296293fcb8df78649 (diff)
downloadFreeBSD-src-222f62b9508c30168451c22ba677efe564ec2bb6.zip
FreeBSD-src-222f62b9508c30168451c22ba677efe564ec2bb6.tar.gz
Import ACPICA 20100915.
Diffstat (limited to 'osunixxf.c')
-rw-r--r--osunixxf.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/osunixxf.c b/osunixxf.c
index 70c40d8..78fa435 100644
--- a/osunixxf.c
+++ b/osunixxf.c
@@ -972,16 +972,6 @@ AcpiOsWritePciConfiguration (
return (AE_OK);
}
-/* TEMPORARY STUB FUNCTION */
-void
-AcpiOsDerivePciId(
- ACPI_HANDLE Device,
- ACPI_HANDLE Region,
- ACPI_PCI_ID **PciId)
-{
-
-}
-
/******************************************************************************
*
@@ -1168,16 +1158,14 @@ AcpiOsWritable (
*
* DESCRIPTION: Get the Id of the current (running) thread
*
- * NOTE: The environment header should contain this line:
- * #define ACPI_THREAD_ID pthread_t
- *
*****************************************************************************/
ACPI_THREAD_ID
-AcpiOsGetThreadId (void)
+AcpiOsGetThreadId (
+ void)
{
- return (pthread_self ());
+ return (ACPI_CAST_PTHREAD_T (pthread_self()));
}
OpenPOWER on IntegriCloud