[rtems commit] bsps/sparc64: Fix warning

Sebastian Huber sebh at rtems.org
Fri Jul 28 11:42:00 UTC 2017


Module:    rtems
Branch:    master
Commit:    9379c705a8aae4be52766d7c680b6cb87b29d6d1
Changeset: http://git.rtems.org/rtems/commit/?id=9379c705a8aae4be52766d7c680b6cb87b29d6d1

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 28 13:40:45 2017 +0200

bsps/sparc64: Fix warning

---

 c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c b/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
index 4e413f7..25b83db 100644
--- a/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
+++ b/c/src/lib/libbsp/sparc64/shared/helenos/boot/sparc64/loader/main.c
@@ -60,8 +60,10 @@
 
 #include <asm.h>
 
+#if 0
 #define PAGE_WIDTH  14
 #define PAGE_SIZE   (1 << PAGE_WIDTH)
+#endif
 
 static bootinfo_t bootinfo;
 #if 0




More information about the vc mailing list