x86: tangier: acpi: Create buffers outside of the methods
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 28 May 2020 09:17:33 +0000 (12:17 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 2 Jun 2020 01:16:13 +0000 (09:16 +0800)
commitd8177a94ca0f3447a60c405cb595143f26a8edbf
treea7a69da6951d1643aabd1ecd6d9bb122404566c5
parentb523c174d6f016ebf071a02b398dc790457cb9c5
x86: tangier: acpi: Create buffers outside of the methods

Create buffers outside of the methods as ACPICA 20200214 complains about this:

Remark 2173 - Creation of named objects within a method is
highly inefficient, use globals or method local variables
instead

Reported-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-tangier/acpi/southcluster.asl