Browse Source

Actually, the initrd image should be architecture-independent.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
10c9b03cdb
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      src/image/initrd.c
  2. 3
    3
      src/include/gpxe/initrd.h

src/arch/i386/image/initrd.c → src/image/initrd.c View File

28
  *
28
  *
29
  */
29
  */
30
 
30
 
31
-#include <initrd.h>
32
 #include <gpxe/image.h>
31
 #include <gpxe/image.h>
32
+#include <gpxe/initrd.h>
33
 
33
 
34
 /** Linux initrd image type */
34
 /** Linux initrd image type */
35
 struct image_type initrd_image_type __image_type ( PROBE_NORMAL ) = {
35
 struct image_type initrd_image_type __image_type ( PROBE_NORMAL ) = {

src/arch/i386/include/initrd.h → src/include/gpxe/initrd.h View File

1
-#ifndef _INITRD_H
2
-#define _INITRD_H
1
+#ifndef _GPXE_INITRD_H
2
+#define _GPXE_INITRD_H
3
 
3
 
4
 /**
4
 /**
5
  * @file
5
  * @file
11
 #include <gpxe/image.h>
11
 #include <gpxe/image.h>
12
 extern struct image_type initrdimage_image_type __image_type ( PROBE_NORMAL );
12
 extern struct image_type initrdimage_image_type __image_type ( PROBE_NORMAL );
13
 
13
 
14
-#endif /* _INITRD_H */
14
+#endif /* _GPXE_INITRD_H */

Loading…
Cancel
Save