From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [patch 1/5 salinfo-0.6] cleanup
Date: Mon, 04 Oct 2004 06:25:22 +0000 [thread overview]
Message-ID: <11341.1096871122@kao2.melbourne.sgi.com> (raw)
cleanup Remove some dead code from salinfo 0.5, mainly from SuSE
Index: salinfo-0.5/Makefile
=================================--- salinfo-0.5.orig/Makefile Mon Nov 24 16:27:34 2003
+++ salinfo-0.5/Makefile Wed Sep 15 16:21:10 2004
@@ -14,10 +14,10 @@ clean:
rm -f salinfo_decode salinfo_decode_oem *.o
install: salinfo_decode
- mkdir -p $(mandir)/man8
+ mkdir -p $(prefix)$(mandir)/man8
mkdir -p $(prefix)$(crondir) $(prefix)$(sbindir) $(prefix)$(initdir)
mkdir -p $(prefix)$(logdir) $(prefix)$(logdir)/raw $(prefix)$(logdir)/decoded
- cp -a salinfo_decode.8 $(mandir)/man8
+ cp -a salinfo_decode.8 $(prefix)$(mandir)/man8
cp -a salinfo_decode salinfo_decode_all $(prefix)$(sbindir)
cp -a salinfo-cron-daily.d-salinfo_decode $(prefix)$(crondir)/salinfo_decode
cp -a salinfo-etc-init.d-salinfo_decode $(prefix)$(initdir)/salinfo_decode
Index: salinfo-0.5/fpu.h
=================================--- salinfo-0.5.orig/fpu.h Sun Nov 16 18:34:25 2003
+++ salinfo-0.5/fpu.h Thu Jan 1 10:00:00 1970
@@ -1,18 +0,0 @@
-#ifndef _ASM_IA64_FPU_H
-#define _ASM_IA64_FPU_H
-
-/*
- * Copyright (C) 1998, 1999, 2002, 2003 Hewlett-Packard Co
- * David Mosberger-Tang <davidm@hpl.hp.com>
- * 2003-11-16 Strip down to the bare minimum required to decode SAL records.
- * Keith Owens <kaos@sgi.com>
- */
-
-struct ia64_fpreg {
- union {
- unsigned long bits[2];
- long double __dummy; /* force 16-byte alignment */
- } u;
-};
-
-#endif /* _ASM_IA64_FPU_H */
Index: salinfo-0.5/sal.h
=================================--- salinfo-0.5.orig/sal.h Sun Nov 16 18:33:28 2003
+++ salinfo-0.5/sal.h Wed Sep 15 16:21:10 2004
@@ -25,7 +25,6 @@
* Keith Owens <kaos@sgi.com>
*/
-#include "fpu.h"
#include "efi.h"
#include "pal.h"
Index: salinfo-0.5/salinfo_decode.c
=================================--- salinfo-0.5.orig/salinfo_decode.c Fri Mar 5 06:36:23 2004
+++ salinfo-0.5/salinfo_decode.c Wed Sep 15 16:21:10 2004
@@ -155,7 +155,6 @@ fork_oemdata(void)
close(pc[1]);
oemdata_fd[0] = pc[0]; /* mca.c read from pgm */
oemdata_fd[1] = pp[1]; /* mca.c write to pgm */
- printf("oemdata_fd[0](%d) oemdata_fd[1](%d)\n", oemdata_fd[0], oemdata_fd[1]);
__asm__ __volatile__ ("" ::: "memory"); /* lock free barrier */
if (child_died)
oemdata_fd[1] = -1;
reply other threads:[~2004-10-04 6:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11341.1096871122@kao2.melbourne.sgi.com \
--to=kaos@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox