drm/nouveau: fix allocation of notifier object
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 19 Apr 2011 21:52:42 +0000 (23:52 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 19 Apr 2011 22:51:34 +0000 (08:51 +1000)
commite4ac93bf3c05bbe9fed1498a1461a8cdaf4b944d
tree9d72e9fc83fdfd16a48c52990a0f6f5042a13826
parenta18d89ca026140eb8ac4459bf70a01c571dd9a32
drm/nouveau: fix allocation of notifier object

Commit 73412c3854c877e5f37ad944ee8977addde4d35a ("drm/nouveau: allocate
kernel's notifier object at end of block") intended to align end of
notifier block to page boundary, but start of block was miscalculated
to be off by -16 bytes. Fix it.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.c