include/asm-generic/tlb.h: Notice about the coding style
PATCH 1/1 include/asm-generic/tlb.h: Notice about the coding style
Notice about 80 columns.
Notice about function parameter alignment.
Append 'UL' to hard code numbers which are related with the unsigned long variables.
Signed-off-by Chen Gang <[email protected]>
--- include/asm-generic/tlb.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
include/asm-generic/tlb.h +5 -4
@@ -111,10 +111,11 @@ struct mmu_gather {#define HAVE_GENERIC_MMU_GATHER -void tlb_gather_mmu (struct mmu_gather *tlb,struct mm_struct *mm,unsigned long start,unsigned long end); +void tlb_gather_mmu (struct mmu_gather *tlb,struct mm_struct *mm, +unsigned long start,unsigned long end);void tlb_flush_mmu (struct mmu_gather *tlb);void tlb_finish_mmu (struct mmu_gather *tlb,unsigned long start, -unsigned long end); +unsigned long end);int __tlb_remove_page (struct mmu_gather *tlb,struct page *page);/* tlb_remove_page
@@ -137,10 +138,10 @@ static inline void __tlb_adjust_range(struct mmu_gather *tlb,static inline void __tlb_reset_range (struct mmu_gather *tlb) {if (tlb->fullmm) { - tlb->start = tlb->end = ~0 ; + tlb->start = tlb->end = ~0UL ; }else { tlb->start =TASK_SIZE ; - tlb->end =0 ; + tlb->end =0UL ; } }
Signature · 1 line
1.9.3