Skip to contentSkip to conversation

mips vs pcmcia - which wins?

DISCUSSION Jim Freeman 2 participants 2 messages Jan 23, 2001 MIPS

lore
Share & tools
lore
#0 lore raw

The following mips kernel patchlet:

	diff -u --new-file --recursive --exclude-from diff.exclude \
		linux-2.4.0/include/linux/sched.h \
		linux-mips.cvs/include/linux/sched.h
	--- linux-2.4.0/include/linux/sched.h   Thu Jan  4 15:50:47 2001
	+++ linux-mips.cvs/include/linux/sched.h        Wed Jan 10 21:52:59 2001
	@@ -562,6 +562,8 @@
	 extern int in_group_p(gid_t);
	 extern int in_egroup_p(gid_t);

	+extern void release(struct task_struct * p);
	+
	 extern void proc_caches_init(void);
	 extern void flush_signals(struct task_struct *);
	 extern void flush_signal_handlers(struct task_struct *);

causes i386 builds to fail:

make -C pcmcia modules
make[5]: Entering directory `/autobuild/public_html/project/build/rpmdir/BUILD/linux/drivers/pcmcia'
...
cs.c:93: release' redeclared as different kind of symbol /autobuild/public_html/project/build/rpmdir/BUILD/linux/include/linux/sched.h:565: previous declaration of release' cs.c:93: warning: release' was declared extern' and later `static'
make[5]: *** [cs.o] Error 1
make[5]: Leaving directory `/autobuild/public_html/project/build/rpmdir/BUILD/linux/drivers/pcmcia' make[4]: *** [_modsubdir_pcmcia] Error 2

with the following i386 config options:

	...
	CONFIG_HOTPLUG=y

	#
	# PCMCIA/CardBus support
	#
	CONFIG_PCMCIA=m
	# CONFIG_CARDBUS is not set
	# CONFIG_I82365 is not set
	# CONFIG_TCIC is not set
	...

...jfree

#1 lore raw
Quoted 7 lines · Jim Freeman

From: Jim Freeman <[email protected]>
Date: Tue, 23 Jan 2001 09:35:23 -0700
To: [email protected], [email protected]
Subject: mips vs pcmcia - which wins?

The following mips kernel patchlet:

Quoted 11 lines
	diff -u --new-file --recursive --exclude-from diff.exclude \
		linux-2.4.0/include/linux/sched.h \
		linux-mips.cvs/include/linux/sched.h
	--- linux-2.4.0/include/linux/sched.h   Thu Jan  4 15:50:47 2001
	+++ linux-mips.cvs/include/linux/sched.h        Wed Jan 10 21:52:59 2001
	@@ -562,6 +562,8 @@
	 extern int in_group_p(gid_t);
	 extern int in_egroup_p(gid_t);

	+extern void release(struct task_struct * p);
	+

The function getting exported here changed it's name to release_task in 2.4; I've adjusted above declaration accordingly.

Ralf