From: Wanlong Gao <wanlong.gao@gmail.com>
To: greg@kroah.com
Cc: linux-kernel@vger.kernel.org, Wanlong Gao <wanlong.gao@gmail.com>
Subject: [PATCH 2/2] Fixed the format that column is longer than 80 .
Date: Sun, 27 Mar 2011 00:25:26 +0800 [thread overview]
Message-ID: <1301156726-23610-2-git-send-email-wanlong.gao@gmail.com> (raw)
In-Reply-To: <1301156726-23610-1-git-send-email-wanlong.gao@gmail.com>
---
mm/memory.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
mode change 100644 => 100755 mm/memory.c
diff --git a/mm/memory.c b/mm/memory.c
old mode 100644
new mode 100755
index 615be51..422cba6
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2196,7 +2196,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
return same;
}
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+ unsigned long va, struct vm_area_struct *vma)
{
/*
* If the source page was a PFN mapping, we don't have
@@ -2940,7 +2941,8 @@ out_release:
* except we must first make sure that 'address{-|+}PAGE_SIZE'
* doesn't hit another vma.
*/
-static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned long address)
+static inline int check_stack_guard_page(struct vm_area_struct *vma,
+ unsigned long address)
{
address &= PAGE_MASK;
if ((vma->vm_flags & VM_GROWSDOWN) && address == vma->vm_start) {
@@ -3653,7 +3655,8 @@ int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
* Source/target buffer must be kernel space,
* Do not walk the page table directly, use get_user_pages
*/
-int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write)
+int access_process_vm(struct task_struct *tsk, unsigned long addr,
+ void *buf, int len, int write)
{
struct mm_struct *mm;
struct vm_area_struct *vma;
--
1.7.3
next prev parent reply other threads:[~2011-03-26 16:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 16:25 [PATCH 1/2] Fixed the format of column longer than 80 Wanlong Gao
2011-03-26 16:25 ` Wanlong Gao [this message]
2011-03-27 10:00 ` [PATCH 2/2] Fixed the format that column is " Harry Wei
2011-03-27 9:58 ` [PATCH 1/2] Fixed the format of column " Harry Wei
2011-04-23 0:05 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301156726-23610-2-git-send-email-wanlong.gao@gmail.com \
--to=wanlong.gao@gmail.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).