Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53746
b: refs/heads/master
c: 86c0baf
h: refs/heads/master
v: v3
  • Loading branch information
Prarit Bhargava authored and Andi Kleen committed May 2, 2007
1 parent bb61e3f commit 1e85bfb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e319af1d8722bc3fb61ed6968c88bb66fbb3f58e
refs/heads/master: 86c0baf123e474b6eb404798926ecf62b426bf3a
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/sysenter.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ extern const char vsyscall_int80_start, vsyscall_int80_end;
extern const char vsyscall_sysenter_start, vsyscall_sysenter_end;
static struct page *syscall_pages[1];

int __init sysenter_setup(void)
int __cpuinit sysenter_setup(void)
{
void *syscall_page = (void *)get_zeroed_page(GFP_ATOMIC);
syscall_pages[0] = virt_to_page(syscall_page);
Expand Down
7 changes: 6 additions & 1 deletion trunk/include/linux/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,14 @@
#endif

/* For assembly routines */
#ifdef CONFIG_HOTPLUG_CPU
#define __INIT .section ".text","ax"
#define __INITDATA .section ".data","aw"
#else
#define __INIT .section ".init.text","ax"
#define __FINIT .previous
#define __INITDATA .section ".init.data","aw"
#endif
#define __FINIT .previous

#ifndef __ASSEMBLY__
/*
Expand Down

0 comments on commit 1e85bfb

Please sign in to comment.