lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 22 May 2007 16:47:38 -0700
From:	Sven-Thorsten Dietrich <sven@...bigcorporation.com>
To:	Ingo Molnar <mingo@...e.hu>, Steven Rostedt <rostedt@...dmis.org>
Cc:	LKML <Linux-kernel@...r.kernel.org>
Subject: [PATCH] 2.6.21-rt6 genapic


Add declaration for setup_apic_routing

This duplicates the declaration from i386 to x86_64 in the header.

The code, in genapic.c is shared between i386/x86_64.

Steven was trying to clean up that mess a while back, and this adds to
it.

In any case this gets compiling with
-Werror-implicit-function-declaration

Sven

Index: linux-2.6.21/arch/i386/kernel/acpi/boot.c
===================================================================
--- linux-2.6.21.orig/arch/i386/kernel/acpi/boot.c
+++ linux-2.6.21/arch/i386/kernel/acpi/boot.c
@@ -35,6 +35,7 @@
 #include <linux/ioport.h>
 
 #include <asm/pgtable.h>
+#include <asm/genapic.h>
 #include <asm/io_apic.h>
 #include <asm/apic.h>
 #include <asm/io.h>
Index: linux-2.6.21/arch/x86_64/kernel/mpparse.c
===================================================================
--- linux-2.6.21.orig/arch/x86_64/kernel/mpparse.c
+++ linux-2.6.21/arch/x86_64/kernel/mpparse.c
@@ -30,6 +30,7 @@
 #include <asm/io_apic.h>
 #include <asm/proto.h>
 #include <asm/acpi.h>
+#include <asm/genapic.h>
 
 /* Have we found an MP table */
 int smp_found_config;
Index: linux-2.6.21/include/asm-x86_64/genapic.h
===================================================================
--- linux-2.6.21.orig/include/asm-x86_64/genapic.h
+++ linux-2.6.21/include/asm-x86_64/genapic.h
@@ -29,6 +29,7 @@ struct genapic {
 	unsigned int (*phys_pkg_id)(int index_msb);
 };
 
+void setup_apic_routing(void);
 
 extern struct genapic *genapic;
 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ