projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152475c
)
[PATCH] efi_call_phys_epilog() warning fix
author
Andrew Morton
<
[email protected]
>
Wed, 22 Mar 2006 08:07:35 +0000
(
00:07
-0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 22 Mar 2006 15:53:55 +0000
(07:53 -0800)
arch/i386/kernel/efi.c: In function `efi_call_phys_epilog': arch/i386/kernel/efi.c:118: warning: assignment makes integer from pointer without a cast
Cc: Matt Domsch <
[email protected]
>
Cc: "Tolentino, Matthew E" <
[email protected]
>
Cc: Zachary Amsden <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/i386/kernel/efi.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/efi.c
b/arch/i386/kernel/efi.c
index c9cad7ba0d2d5eced0508ff256eb1c1a62c92764..aeabb41968610f3aedce1fbff43fad4e3bbebd35 100644
(file)
--- a/
arch/i386/kernel/efi.c
+++ b/
arch/i386/kernel/efi.c
@@
-115,7
+115,7
@@
static void efi_call_phys_epilog(void)
unsigned long cr4;
struct Xgt_desc_struct *cpu_gdt_descr = &per_cpu(cpu_gdt_descr, 0);
- cpu_gdt_descr->address = __va(cpu_gdt_descr->address);
+ cpu_gdt_descr->address =
(unsigned long)
__va(cpu_gdt_descr->address);
load_gdt(cpu_gdt_descr);
cr4 = read_cr4();