diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-03-04 07:05:34 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-03-26 13:48:33 -0400 |
commit | dd97d5cb540939602cba9af6f88e883a6fe451f0 (patch) | |
tree | 8425ba5692e3fe9175ed10ce85d02ef4a77dedd8 /arch/ia64/mm | |
parent | ac93925acbf841d70a95ab576b76b15a34d194eb (diff) |
ia64/pv_ops: add hooks to paravirtualize fsyscall implementation.
Add two hooks, paravirt_get_fsyscall_table() and
paravirt_get_fsys_bubble_doen() to paravirtualize fsyscall implementation.
This patch just add the hooks fsyscall and don't paravirtualize it.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 56e12903973c..c9bc5b305ffa 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <asm/uaccess.h> | 35 | #include <asm/uaccess.h> |
36 | #include <asm/unistd.h> | 36 | #include <asm/unistd.h> |
37 | #include <asm/mca.h> | 37 | #include <asm/mca.h> |
38 | #include <asm/paravirt.h> | ||
38 | 39 | ||
39 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | 40 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); |
40 | 41 | ||
@@ -667,8 +668,8 @@ mem_init (void) | |||
667 | * code can tell them apart. | 668 | * code can tell them apart. |
668 | */ | 669 | */ |
669 | for (i = 0; i < NR_syscalls; ++i) { | 670 | for (i = 0; i < NR_syscalls; ++i) { |
670 | extern unsigned long fsyscall_table[NR_syscalls]; | ||
671 | extern unsigned long sys_call_table[NR_syscalls]; | 671 | extern unsigned long sys_call_table[NR_syscalls]; |
672 | unsigned long *fsyscall_table = paravirt_get_fsyscall_table(); | ||
672 | 673 | ||
673 | if (!fsyscall_table[i] || nolwsys) | 674 | if (!fsyscall_table[i] || nolwsys) |
674 | fsyscall_table[i] = sys_call_table[i] | 1; | 675 | fsyscall_table[i] = sys_call_table[i] | 1; |