Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 20:31:04 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 44bd0e89a1c4 - main - machine/param.h: drop __HAVE_ACPI define
Message-ID:  <202501232031.50NKV4dF074289@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=44bd0e89a1c47c02639f3b2b6b9c7a5ca3aa84be

commit 44bd0e89a1c47c02639f3b2b6b9c7a5ca3aa84be
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2025-01-23 20:26:27 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-01-23 20:30:31 +0000

    machine/param.h: drop __HAVE_ACPI define
    
    It is no longer used anywhere (since 62508c531e0f), and not defined for
    arm64 which also supports ACPI.
    
    Reviewed by:    imp, jhb
    Differential Revision:  https://reviews.freebsd.org/D48486
---
 sys/amd64/include/param.h | 2 --
 sys/i386/include/param.h  | 1 -
 2 files changed, 3 deletions(-)

diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index 86f96ef15832..8db314fa034d 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -47,8 +47,6 @@
  * Machine dependent constants for AMD64.
  */
 
-#define __HAVE_ACPI
-
 #ifndef MACHINE
 #define	MACHINE		"amd64"
 #endif
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index 177b4d9a168b..657dbcd879bd 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -41,7 +41,6 @@
  * Machine dependent constants for Intel 386.
  */
 
-#define __HAVE_ACPI
 #define	__HAVE_PIR
 
 #ifndef MACHINE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501232031.50NKV4dF074289>