From f1f8bc2cd40fa8a886447f5fd5cb313fe7cedbee Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 26 Jun 2007 13:46:57 +0000 Subject: [PATCH] Document the origins of include/arch/x86/cpu.h (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@367 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- HACKING | 5 +++++ include/arch/x86/cpu.h | 26 +++++++++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/HACKING b/HACKING index 5a7d6d0077..feb6e5fabd 100644 --- a/HACKING +++ b/HACKING @@ -90,6 +90,11 @@ Third-party Code and License Overview Source: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 Current version we use: e2afe67453e5b1499459ee3596b1e7924a5208f5 +* include/arch/x86/cpu.h: GPLv2 + Source: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 + Files: include/asm-i386/processor.h, arch/i386/kernel/cpu/mtrr/state.c + Current version we use: ? + * include/arch/x86/swab.h: GPLv2 Source: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 Current version we use: ? diff --git a/include/arch/x86/cpu.h b/include/arch/x86/cpu.h index 25771483ea..3d90bc2234 100644 --- a/include/arch/x86/cpu.h +++ b/include/arch/x86/cpu.h @@ -1,19 +1,16 @@ /* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * This file is part of the LinuxBIOS project. + * + * It is based on the Linux kernel files include/asm-i386/processor.h + * and arch/i386/kernel/cpu/mtrr/state.c. + * + * Modifications are: + * Copyright (C) 2004 Linux Networx + * (Written by Eric Biederman for Linux Networx) + * Copyright (C) 2007 AMD + * (Written by Yinghai Lu for AMD) + * Copyright (C) 2007 Ronald G. Minnich */ -/* This code taken from LinuxBIOS v2, which was taken from Linux */ #ifndef ARCH_X86_CPU_H #define ARCH_X86_CPU_H @@ -191,5 +188,4 @@ static inline void disable_cache(void) wbinvd(); } - #endif /* ARCH_X86_CPU_H */