openrisc: use kbuild.h instead of defining macros in asm-offset.c
authorJames Hogan <james.hogan@imgtec.com>
Thu, 11 Oct 2012 09:03:01 +0000 (10:03 +0100)
committerJonas Bonn <jonas@southpole.se>
Thu, 25 Oct 2012 13:54:33 +0000 (15:54 +0200)
commit634bd40a894d64df09ba36c12bb6e70787989ba9
tree21473b4b6f2cf1331baf2aac584c4f037e52658e
parentd48444cf39161bca014b9f6402e409d3e193e530
openrisc: use kbuild.h instead of defining macros in asm-offset.c

This is modelled on commits such as the one below:

Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e ("sh: use kbuild.h
instead of defining macros in asm-offsets.c") introduced in v2.6.26.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/kernel/asm-offsets.c