Re: List of SCO files

From: Steven Cole
Date: Wed Nov 12 2003 - 23:55:12 EST


On Wednesday 12 November 2003 07:49 pm, Benjamin Herrenschmidt wrote:
> Or just include/asm-m68k/spinlock.h :)
>
> The whole file is just:
>
> #ifndef __M68K_SPINLOCK_H
> #define __M68K_SPINLOCK_H
>
> #error "m68k doesn't do SMP yet"
>
> #endif

Here's my personal favorite, file 490 of 591.
See if you can spot the purloined Intellectual Property:

[steven@spc 2.6-bk-current]$ cat include/asm-v850/percpu.h
#ifndef __V850_PERCPU_H__
#define __V850_PERCPU_H__

#include <asm-generic/percpu.h>

/* This is a stupid hack to satisfy some grotty implicit include-file
dependency; basically, <linux/smp.h> uses BUG_ON, which calls BUG, but
doesn't include the necessary headers to define it. In the twisted
festering mess of includes this must all be resolved somehow on other
platforms, but I haven't the faintest idea how, and don't care; here will
do, even though doesn't actually make any sense. */
#include <asm/page.h>

#endif /* __V850_PERCPU_H__ */

I'm betting on the "This is a stupid hack" phrase. Undoubtably SCO's code
is littered with comments like that.

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/