aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2008-06-26 07:28:51 -0700
committerIngo Molnar <[email protected]>2008-07-08 13:16:02 +0200
commit457da70ec09ca78e8fda5d5ab3659248f844a376 (patch)
treec3c5b99aad81d263f8c31a6ab5d4836aa30dad33 /net/lapb/lapb_subr.c
parente7b3789524eecc96213dd69d6686efd429235051 (diff)
x86/paravirt: groundwork for 64-bit Xen support, fix
Ingo Molnar wrote: > * Jeremy Fitzhardinge <[email protected]> wrote: > > >>> It quickly broke the build in testing: >>> >>> include/asm/pgalloc.h: In function ‘paravirt_pgd_free': >>> include/asm/pgalloc.h:14: error: parameter name omitted >>> arch/x86/kernel/entry_64.S: In file included from >>> arch/x86/kernel/traps_64.c:51:include/asm/pgalloc.h: In function >>> ‘paravirt_pgd_free': >>> include/asm/pgalloc.h:14: error: parameter name omitted >>> >>> >> No, looks like my fault. The non-PARAVIRT version of >> paravirt_pgd_free() is: >> >> static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *) {} >> >> but C doesn't like missing parameter names, even if unused. >> >> This should fix it: >> > > that fixed the build but now we've got a boot crash with this config: > > time.c: Detected 2010.304 MHz processor. > spurious 8259A interrupt: IRQ7. > BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 > IP: [<0000000000000000>] > PGD 0 > Thread overran stack, or stack corrupted > Oops: 0010 [1] SMP > CPU 0 > > with: > > http://redhat.com/~mingo/misc/config-Thu_Jun_26_12_46_46_CEST_2008.bad > Use SWAPGS_UNSAFE_STACK in ia32entry.S in the places where the active stack is the usermode stack. Signed-off-by: Jeremy Fitzhardinge <[email protected]> Cc: xen-devel <[email protected]> Cc: Stephen Tweedie <[email protected]> Cc: Eduardo Habkost <[email protected]> Cc: Mark McLoughlin <[email protected]> Cc: Vegard Nossum <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Yinghai Lu <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions