diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:06 +0900 |
commit | f5d08e9fa6464c876ab00c03fadc09a64edb5bb5 (patch) | |
tree | f0265be55c7d40723e2868f2540262bc5078330f /kexec_test | |
parent | 0151e38f0d87528c8856fcb0b4d53ed547c139b0 (diff) |
Use config.h for defines
Instead of putting a heap of -D directives in CPPFLAGS, use a config.h
header.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec_test')
-rw-r--r-- | kexec_test/kexec_test.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kexec_test/kexec_test.S b/kexec_test/kexec_test.S index 5106c5c..ad081bc 100644 --- a/kexec_test/kexec_test.S +++ b/kexec_test/kexec_test.S @@ -17,6 +17,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "config.h" + .equ PROT_CODE_SEG, pmcs - gdt .equ REAL_CODE_SEG, rmcs - gdt .equ PROT_DATA_SEG, pmds - gdt @@ -419,7 +421,7 @@ gdt_end: s_hello: .ascii "kexec_test " - .ascii VERSION + .ascii PACKAGE_VERSION .asciz " starting...\r\n" s_switching_descriptors: .asciz "Switching descriptors.\r\n" |