sub.

2007-07-25 Thread Ying Chu
help - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

sysenter cause a segmentation fault.

2007-03-18 Thread Ying Chu
A simple code running on PIII 800,kernel 2.6.20 with SEP enabled causes a segmentation fault. The slice is as following. #include #include int main() { unsigned long ret=0; __asm__ __volatile__ ("movl %1,%%eax\n\tpushl %%ecx\n\t" "pushl %%edx\n\tpush %%ebp\n\t" "movl %%esp,%%eb