* [patch 3/3] efivars driver update and move
@ 2004-04-22 16:06 Matt Tolentino
0 siblings, 0 replies; only message in thread
From: Matt Tolentino @ 2004-04-22 16:06 UTC (permalink / raw)
To: akpm
Cc: bjorn.helgaas, linux-ia64, linux-kernel, Matt_Domsch,
matthew.e.tolentino
Third efivars driver update patch that removes x86 references
to the /proc version of the driver...
matt
diff -urN linux-2.6.6-rc2/arch/i386/kernel/efi.c linux-2.6.6-rc2-mod/arch/i386/kernel/efi.c
--- linux-2.6.6-rc2/arch/i386/kernel/efi.c 2004-04-20 14:29:43.000000000 -0700
+++ linux-2.6.6-rc2-mod/arch/i386/kernel/efi.c 2004-04-21 00:39:39.276757760 -0700
@@ -28,7 +28,7 @@
#include <linux/spinlock.h>
#include <linux/bootmem.h>
#include <linux/ioport.h>
-#include <linux/proc_fs.h>
+#include <linux/module.h>
#include <linux/efi.h>
#include <asm/setup.h>
@@ -46,6 +46,7 @@
extern efi_status_t asmlinkage efi_call_phys(void *, ...);
struct efi efi;
+EXPORT_SYMBOL(efi);
struct efi efi_phys __initdata;
struct efi_memory_map memmap __initdata;
@@ -55,18 +56,6 @@
extern void * boot_ioremap(unsigned long, unsigned long);
/*
- * efi_dir is allocated here, but the directory isn't created
- * here, as proc_mkdir() doesn't work this early in the bootup
- * process. Therefore, each module, like efivars, must test for
- * if (!efi_dir) efi_dir = proc_mkdir("efi", NULL);
- * prior to creating their own entries under /proc/efi.
- */
-#ifdef CONFIG_PROC_FS
-struct proc_dir_entry *efi_dir;
-#endif
-
-
-/*
* To make EFI call EFI runtime service in physical addressing mode we need
* prelog/epilog before/after the invocation to disable interrupt, to
* claim EFI runtime service handler exclusively and to duplicate a memory in
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-22 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 16:06 [patch 3/3] efivars driver update and move Matt Tolentino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox