grumain.c (0337966d121ebebf73a1c346123e8112796e684e) | grumain.c (1770a80f7d22a8c191af8d87eef922814369c34b) |
---|---|
1/* 2 * SN Platform GRU Driver 3 * 4 * DRIVER TABLE MANAGER + GRU CONTEXT LOAD/UNLOAD 5 * 6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 912 unchanged lines hidden (view full) --- 921 922/* 923 * gru_nopage 924 * 925 * Map the user's GRU segment 926 * 927 * Note: gru segments alway mmaped on GRU_GSEG_PAGESIZE boundaries. 928 */ | 1/* 2 * SN Platform GRU Driver 3 * 4 * DRIVER TABLE MANAGER + GRU CONTEXT LOAD/UNLOAD 5 * 6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 912 unchanged lines hidden (view full) --- 921 922/* 923 * gru_nopage 924 * 925 * Map the user's GRU segment 926 * 927 * Note: gru segments alway mmaped on GRU_GSEG_PAGESIZE boundaries. 928 */ |
929int gru_fault(struct vm_fault *vmf) | 929vm_fault_t gru_fault(struct vm_fault *vmf) |
930{ 931 struct vm_area_struct *vma = vmf->vma; 932 struct gru_thread_state *gts; 933 unsigned long paddr, vaddr; 934 unsigned long expires; 935 936 vaddr = vmf->address; 937 gru_dbg(grudev, "vma %p, vaddr 0x%lx (0x%lx)\n", --- 39 unchanged lines hidden --- | 930{ 931 struct vm_area_struct *vma = vmf->vma; 932 struct gru_thread_state *gts; 933 unsigned long paddr, vaddr; 934 unsigned long expires; 935 936 vaddr = vmf->address; 937 gru_dbg(grudev, "vma %p, vaddr 0x%lx (0x%lx)\n", --- 39 unchanged lines hidden --- |