xen/x86: Remove GB macro in asm-x86/config.h
authorJulien Grall <julien.grall@linaro.org>
Tue, 8 Oct 2013 16:48:33 +0000 (17:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 8 Oct 2013 17:08:40 +0000 (18:08 +0100)
Commit 983843e "xen: Add macros MB and GB" introduce a generic GB macro.
By mistake, the macro in asm-x86/config.h was not removed. This is result to
a compilation error when Xen is build for x86.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/config.h

index 3980e060e3e3ab0d08bf0e51f66255db1414e75f..99d0e2c5cef00c85e64fe2f2c66f0cfa2ad2a1ee 100644 (file)
@@ -129,7 +129,6 @@ extern unsigned char boot_edid_info[128];
 #define PML4_ADDR(_slot)                              \
     (((_AC(_slot, UL) >> 8) * _AC(0xffff000000000000,UL)) | \
      (_AC(_slot, UL) << PML4_ENTRY_BITS))
-#define GB(_gb) (_AC(_gb, UL) << 30)
 
 /*
  * Memory layout: