efi/ia64: Use existing helpers to locate ESI table
[sfrench/cifs-2.6.git] / arch / ia64 / kernel / efi.c
index 292fe354158d7898a1658403d87008e9072b1e05..74fad89ae2094333747495d96da8329c63c59af0 100644 (file)
 
 #define EFI_DEBUG      0
 
+#define ESI_TABLE_GUID                                 \
+    EFI_GUID(0x43EA58DC, 0xCF28, 0x4b06, 0xB3,         \
+            0x91, 0xB7, 0x50, 0x59, 0x34, 0x2B, 0xD4)
+
 static unsigned long mps_phys = EFI_INVALID_TABLE_ADDR;
 static __initdata unsigned long palo_phys;
 
+unsigned long __initdata esi_phys = EFI_INVALID_TABLE_ADDR;
 unsigned long hcdp_phys = EFI_INVALID_TABLE_ADDR;
 unsigned long sal_systab_phys = EFI_INVALID_TABLE_ADDR;
 
 static __initdata efi_config_table_type_t arch_tables[] = {
+       {ESI_TABLE_GUID, "ESI", &esi_phys},
        {HCDP_TABLE_GUID, "HCDP", &hcdp_phys},
        {MPS_TABLE_GUID, "MPS", &mps_phys},
        {PROCESSOR_ABSTRACTION_LAYER_OVERWRITE_GUID, "PALO", &palo_phys},