drm/nouveau/nouveau: bios pointers may be unaligned, use proper accessors
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 27 Jul 2016 05:00:31 +0000 (01:00 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:02 +0000 (17:29 +1000)
commit9936aeeaebce816ba428eedf4da4b1a8e92e77f9
tree51888fb3bd1232f28e8fdf7b18fdaa30b88138b4
parent69b624983f94f2a877449c1e6c34f21c97440f25
drm/nouveau/nouveau: bios pointers may be unaligned, use proper accessors

This can show up on SPARC or other architectures that don't handle
unaligned accesses. The kernel normally fixes these up, but it shouldn't
have to.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96836
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.h
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c