mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel/sys.c build fix
@ 2005-01-07  7:28 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2005-01-07  7:28 UTC (permalink / raw)
  To: Alan Cox, Andrew Morton, Linus Torvalds; +Cc: Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]


On x86-64, the attached patch is required to fix

> kernel/sys.c: In function `sys_setsid':
> kernel/sys.c:1078: error: `tty_sem' undeclared (first use in this function)
> kernel/sys.c:1078: error: (Each undeclared identifier is reported only once
> kernel/sys.c:1078: error: for each function it appears in.)

kernel/sys.c needs the tty_sem declaration from linux/tty.h.

	Jeff




[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 328 bytes --]

===== kernel/sys.c 1.101 vs edited =====
--- 1.101/kernel/sys.c	2005-01-04 13:47:32 -05:00
+++ edited/kernel/sys.c	2005-01-07 02:25:46 -05:00
@@ -23,6 +23,7 @@
 #include <linux/security.h>
 #include <linux/dcookies.h>
 #include <linux/suspend.h>
+#include <linux/tty.h>
 
 #include <linux/compat.h>
 #include <linux/syscalls.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-07  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07  7:28 [PATCH] kernel/sys.c build fix Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome