@@ -88,6 +88,11 @@ config ARM64
config 64BIT
def_bool y
+config ACPI_OS_NAME
+ string
+ default "Linux"
+ depends on ACPI
+
config ARCH_PHYS_ADDR_T_64BIT
def_bool y
@@ -69,7 +69,9 @@
* code that will not execute the _OSI method unless _OS matches the string
* below. Therefore, change this string at your own risk.
*/
+#ifndef ACPI_OS_NAME
#define ACPI_OS_NAME "Microsoft Windows NT"
+#endif
/* Maximum objects in the various object caches */
@@ -69,6 +69,10 @@
#define ACPI_REDUCED_HARDWARE 1
#endif
+#ifdef CONFIG_ACPI_OS_NAME
+#define ACPI_OS_NAME CONFIG_ACPI_OS_NAME
+#endif
+
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ctype.h>