]> granicus.if.org Git - zfs/commitdiff
Remove pragmas from new libefi files.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 14 Oct 2009 22:44:22 +0000 (15:44 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 14 Oct 2009 22:44:22 +0000 (15:44 -0700)
lib/libefi/include/sys/efi_partition.h
lib/libefi/include/sys/uuid.h

index 46fb424c0575bccaa7ab051d4737b0e41743a38a..55a381c76a07cfab6d33c74c3cfbb4a852e783ce 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef        _SYS_EFI_PARTITION_H
 #define        _SYS_EFI_PARTITION_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
-
 #include <sys/uuid.h>
 
 #ifdef __cplusplus
@@ -221,7 +219,11 @@ struct partition64 {
 /*
  * Number of EFI partitions
  */
+#if defined(__linux__)
+#define        EFI_NUMPAR      128 /* Expected by parted-1.8.1 */
+#else
 #define        EFI_NUMPAR      9
+#endif
 
 #ifndef _KERNEL
 extern int     efi_alloc_and_init(int, uint32_t, struct dk_gpt **);
index 683643e312355ce620c8a7b4881c4a873a59dced..9ce872e345f7ed5965bfff79c2ba0cbd6d1698b9 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef        _SYS_UUID_H
 #define        _SYS_UUID_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
-
 #ifdef __cplusplus
 extern "C" {
 #endif