From: Justin Mattock on
Hello; I'm trying to compile a module and am a bit confused with what
I should do. The module is using nopage, but since nopage was
converted to fault,
I have no choice but to see if the module will compile with fault. One
of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
anybody has a advice it would be really appreciated.
regards;

--
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Jiri Slaby on
On 05/07/2008 07:40 PM, Justin Mattock wrote:
> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If

The former, next time, google little bit, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Justin Mattock on
On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby(a)gmail.com> wrote:
> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>
> > of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
> > in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
> >
>
> The former, next time, google little bit, please.
>

Thanks for the help,
you mean the former definition which was taken out "NOPAGE_SIGBUS",
or former as in an interface located somewhere in the kernel.
regards;


--
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Jiri Slaby on
On 05/07/2008 09:07 PM, Justin Mattock wrote:
> On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby(a)gmail.com> wrote:
>> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>>
>>> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
>>> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
>>>
>> The former, next time, google little bit, please.
>>
>
> Thanks for the help,
> you mean the former definition which was taken out "NOPAGE_SIGBUS",
> or former as in an interface located somewhere in the kernel.
> regards;

The former constant you mentioned. I suppose you are asking what's the
NOPAGE_SIGBUS opposite in fault handler, right?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Jiri Slaby on
On 05/07/2008 09:20 PM, Justin Mattock wrote:
> On Wed, May 7, 2008 at 7:15 PM, Jiri Slaby <jirislaby(a)gmail.com> wrote:
>> On 05/07/2008 09:07 PM, Justin Mattock wrote:
>>
>>> On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby(a)gmail.com> wrote:
>>>
>>>> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>>>>
>>>>
>>>>> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
>>>>> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
>>>>>
>>>>>
>>>> The former, next time, google little bit, please.

>> The former constant you mentioned.
>
> I think what I'm trying to figure out is what would you put in
> NOPAGE_SIGBUS's place since it no longer is in the kernel

Well, the former from the 2 you mentioned in the very first post.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/