From: Christoph Hellwig <hch@lst.de>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] update arch/ia64/sn/kernel/sn2/Makefile
Date: Sat, 27 Sep 2003 14:18:55 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106467235426573@msgid-missing> (raw)
ptc_deadlock.o sn2_smp.o only make sense for CONFIG_SMP,
sn_proc_fs.o prominfo_proc.o are procfs-only
diff -Nru a/arch/ia64/sn/kernel/sn2/Makefile b/arch/ia64/sn/kernel/sn2/Makefile
--- a/arch/ia64/sn/kernel/sn2/Makefile Sat Sep 27 16:16:35 2003
+++ b/arch/ia64/sn/kernel/sn2/Makefile Sat Sep 27 16:16:35 2003
@@ -11,5 +11,6 @@
EXTRA_CFLAGS := -DLITTLE_ENDIAN
-obj-y += cache.o io.o ptc_deadlock.o sn2_smp.o sn_proc_fs.o \
- prominfo_proc.o timer.o
+obj-y += cache.o io.o timer.o
+obj-$(CONFIG_SMP) += ptc_deadlock.o sn2_smp.o
+obj-$(CONFIG_PROC_FS) += sn_proc_fs.o prominfo_proc.o
diff -Nru a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c
--- a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c Sat Sep 27 16:16:35 2003
+++ b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c Sat Sep 27 16:16:35 2003
@@ -31,10 +31,8 @@
* http://oss.sgi.com/projects/GenInfo/NoticeExplan
*/
#include <linux/config.h>
-#include <asm/uaccess.h>
-
-#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
+#include <asm/uaccess.h>
#include <asm/sn/sn_sal.h>
@@ -191,5 +189,3 @@
register_sn_force_interrupt();
register_sn_linkstats();
}
-
-#endif /* CONFIG_PROC_FS */
reply other threads:[~2003-09-27 14:18 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=marc-linux-ia64-106467235426573@msgid-missing \
--to=hch@lst.de \
--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