Module Name: src
Committed By: gdt
Date: Sat Jul 6 12:03:11 UTC 2013
Modified Files:
src/sys/arch/x86/x86: cpu_ucode.c cpu_ucode_amd.c
Log Message:
Add #endif comments (only).
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/cpu_ucode_amd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/cpu_ucode.c
diff -u src/sys/arch/x86/x86/cpu_ucode.c:1.3 src/sys/arch/x86/x86/cpu_ucode.c:1.4
--- src/sys/arch/x86/x86/cpu_ucode.c:1.3 Wed Oct 17 20:19:55 2012
+++ src/sys/arch/x86/x86/cpu_ucode.c Sat Jul 6 12:03:11 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_ucode.c,v 1.3 2012/10/17 20:19:55 drochner Exp $ */
+/* $NetBSD: cpu_ucode.c,v 1.4 2013/07/06 12:03:11 gdt Exp $ */
/*
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_ucode.c,v 1.3 2012/10/17 20:19:55 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_ucode.c,v 1.4 2013/07/06 12:03:11 gdt Exp $");
#include "opt_cpu_ucode.h"
#include "opt_compat_netbsd.h"
@@ -77,7 +77,7 @@ compat6_cpu_ucode_get_version(struct com
return 0;
}
-#endif
+#endif /* COMPAT60 */
int
cpu_ucode_md_open(firmware_handle_t *fwh, int loader_version, const char *fwname)
@@ -145,4 +145,4 @@ compat6_cpu_ucode_apply(const struct com
sc->sc_blobsize = 0;
return error;
}
-#endif
+#endif /* COMPAT60 */
Index: src/sys/arch/x86/x86/cpu_ucode_amd.c
diff -u src/sys/arch/x86/x86/cpu_ucode_amd.c:1.5 src/sys/arch/x86/x86/cpu_ucode_amd.c:1.6
--- src/sys/arch/x86/x86/cpu_ucode_amd.c:1.5 Wed Oct 17 20:19:55 2012
+++ src/sys/arch/x86/x86/cpu_ucode_amd.c Sat Jul 6 12:03:11 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_ucode_amd.c,v 1.5 2012/10/17 20:19:55 drochner Exp $ */
+/* $NetBSD: cpu_ucode_amd.c,v 1.6 2013/07/06 12:03:11 gdt Exp $ */
/*
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_ucode_amd.c,v 1.5 2012/10/17 20:19:55 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_ucode_amd.c,v 1.6 2013/07/06 12:03:11 gdt Exp $");
#include "opt_xen.h"
#include "opt_cpu_ucode.h"
@@ -129,7 +129,7 @@ compat6_cpu_ucode_amd_get_version(struct
ucode->version = uclevel;
return 0;
}
-#endif
+#endif /* COMPAT60 */
int
cpu_ucode_amd_firmware_open(firmware_handle_t *fwh, const char *fwname)
@@ -324,4 +324,4 @@ err0:
kmem_free(mc.mc_amd, sizeof(*mc.mc_amd));
return error;
}
-#endif
+#endif /* ! XEN */