diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-18 10:44:00 -0800 |
commit | 6e412faa2d2ac122c0ada3acfe39f000af470239 (patch) | |
tree | 053cee7b1268330440b6b96241d79ea8f511163a /mm | |
parent | b7d26f440c19da8e5ac1e8a3f53b7a3fdd1151bd (diff) |
System call wrappers part 26
commit c4ea37c26a691ad0b7e86aa5884aab27830e95c9 upstream.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/swapfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 90cb67a5417c..d06896bd2ee9 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -1223,7 +1223,7 @@ int page_queue_congested(struct page *page) } #endif -asmlinkage long sys_swapoff(const char __user * specialfile) +SYSCALL_DEFINE1(swapoff, const char __user *, specialfile) { struct swap_info_struct * p = NULL; unsigned short *swap_map; @@ -1467,7 +1467,7 @@ __initcall(procswaps_init); * * The swapon system call */ -asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags) +SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) { struct swap_info_struct * p; char *name = NULL; |