From 10c9b03cdb3b965961e000c46b175677b4b5c2d1 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 14 Jan 2007 15:07:11 +0000 Subject: [PATCH] Actually, the initrd image should be architecture-independent. --- src/{arch/i386 => }/image/initrd.c | 2 +- src/{arch/i386/include => include/gpxe}/initrd.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/{arch/i386 => }/image/initrd.c (98%) rename src/{arch/i386/include => include/gpxe}/initrd.h (68%) diff --git a/src/arch/i386/image/initrd.c b/src/image/initrd.c similarity index 98% rename from src/arch/i386/image/initrd.c rename to src/image/initrd.c index d0e0d88a..f03564a8 100644 --- a/src/arch/i386/image/initrd.c +++ b/src/image/initrd.c @@ -28,8 +28,8 @@ * */ -#include #include +#include /** Linux initrd image type */ struct image_type initrd_image_type __image_type ( PROBE_NORMAL ) = { diff --git a/src/arch/i386/include/initrd.h b/src/include/gpxe/initrd.h similarity index 68% rename from src/arch/i386/include/initrd.h rename to src/include/gpxe/initrd.h index 196a9652..4533a124 100644 --- a/src/arch/i386/include/initrd.h +++ b/src/include/gpxe/initrd.h @@ -1,5 +1,5 @@ -#ifndef _INITRD_H -#define _INITRD_H +#ifndef _GPXE_INITRD_H +#define _GPXE_INITRD_H /** * @file @@ -11,4 +11,4 @@ #include extern struct image_type initrdimage_image_type __image_type ( PROBE_NORMAL ); -#endif /* _INITRD_H */ +#endif /* _GPXE_INITRD_H */